On Mon, Nov 10, 2003 at 12:23:35PM +0100, Thomas Pfaff wrote:
>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 <[EMAIL PROTECTED]>
>
> * dcrt0.cc: Add prototype for __sinit.
> (dll_crt0_1): Initialize stdio.
The above two things are already done in dcrt0.cc. Why are you adding
additional prototypes and going to additional work?
2003-10-02 Christopher Faylor <[EMAIL PROTECTED]>
* dcrt0.cc (dll_crt0_1): Call newlib __sinit routine to ensure that
stdio buffers are initialized to avoid thread initialization races.
cgf