Mail Archives: djgpp/1994/08/29/16:26:53
After using malloc with chunks > 4096 bytes, the free ram
reported by _go32_dpmi_remaining_physical_memory() is not
decreased accordingly.
Using calloc instead of malloc or writing to each page of the
newly allocated space fixes that problem.
After returning from a call to spawnlp, in both cases the free
ram reported does no longer reflect allocations done before.
exec.c also seems to have some memory leaks.
When an application exhausts all file handles, then spawnlp (of
stubbed programs) will no longer work and other strange things
happen.
F_OPENMAX in stdio.h which is #defined 256 will (of course) only
handle the number of files specified by FILES= in config.sys.
Answers please to ele AT clients DOT switch DOT ch
Thanks and regards!
- Raw text -