This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] stdio initialization


Attached patch fixes the memory leak reported by Arash Partow by
initializing stdio during startup and setting __sdidinit from thread
local clib appropriately.

Thomas

2003-11-10  Thomas Pfaff  <tpfaff@gmx.net>

	* 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
	appropriately.

Attachment: sinit.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]