[PATCH] stdio initialization
Mon Nov 10 11:23:00 GMT 2003
Attached patch fixes the memory leak reported by Arash Partow by
initializing stdio during startup and setting __sdidinit from thread
local clib appropriately.
2003-11-10 Thomas Pfaff <email@example.com>
* dcrt0.cc: Add prototype for __sinit.
(dll_crt0_1): Initialize stdio.
* thread.cc (pthread::exit): Cleanup on thread exit.
(__reent_t::init_clib): Set thread local clib __sdidinit var
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Cygwin-patches