[PATCH] Thread safe stdio

2004-02-11 Thread Thomas Pfaff
_flock_t is now defined in cygwin/_types.h. I will sent following patch for newlib when this one is applied: --- _types.h.org2004-01-26 23:33:11.0 +0100 +++ _types.h2004-02-10 12:28:44.359443200 +0100 @@ -9,6 +9,10 @@ #ifndef_SYS__TYPES_H #define _SYS__TYPES_H

Re: [PATCH] Thread safe stdio

2004-02-11 Thread Igor Pechtchanski
Thomas, IMHO, include/cygwin/_types.h should be created before the below patch is applied, to provide continuity (otherwise the builds will be broken between the two patches). Creating it earlier does no harm, AFAICS. The rest of the Cygwin patch should obviously wait. Igor On Wed, 11

Re: Re: [PATCH] Thread safe stdio

2004-02-11 Thread Thomas Pfaff
Igor Pechtchanski [EMAIL PROTECTED] schrieb am 11.02.2004, 15:24:15: Thomas, IMHO, include/cygwin/_types.h should be created before the below patch is applied, to provide continuity (otherwise the builds will be broken between the two patches). Creating it earlier does no harm, AFAICS.

Re: [PATCH] Thread safe stdio

2004-02-11 Thread Christopher Faylor
On Wed, Feb 11, 2004 at 11:08:57AM +0100, Thomas Pfaff wrote: The __sinit call must be done after malloc is initialized, otherwise the mutex creation will fail. I am not comfortable with this part of the patch. I moved the __sinit call where I did for a reason. It needed to be called earlier