On Wed, 4 Feb 2004, Steffen Kaiser wrote: > On Wed, 4 Feb 2004, Bart Oldeman wrote: > > > Replacements for malloc() and free() will help; don't forget to define > > _nmalloc as a malloc caller. > > Can you hook into Watcom's heap management? E.g. trace malloc() calls, > redo malloc(), if it failed (after some stuff has been deallocated)?
I don't know. > Can I have implemented my heap without patching the clib? Yes. See talloc.c in the kernel source (sys directory) or choice. It implements a simple heap on top of __brk() and sbrk(). Bart ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Freedos-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-devel