Date: Tue, 21 Dec 93 10:28:25 EST From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock) To: arnaiz AT redvax1 DOT dgsca DOT unam DOT mx Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: critical error routine > 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.