Mail Archives: djgpp/1993/12/21/11:17:02
> Maybe I am over looking something, but while reading your handler,
> it surprised me that you didn't check the return code from
> _go32_dpmi_allocate_dos_memory(). Suppose that all conventional
> memory is allocated, so you don't get the space you ask for.
Yes, I suppose I should. I'm probably in trouble anyway if real memory is so
tight that I can't get 16 bytes, but better to die cleanly.
> I also sugest the use of sizeof() when calling dosmemput(). Then you
> can modify the handler array without having to touch the arguments
> to dosmemput:
Good point.
- Raw text -