[Fwd: [Bug] _POSIX_THREAD_SAFE_FUNCTIONS is defined, but it should not be?]

Thomas Pfaff tpfaff@gmx.net
Fri May 14 21:42:00 GMT 2004


I do not have any objections.

Thomas

Corinna Vinschen wrote:
> Hi Thomas,
> 
> talking about flockfile, ftrylockfile and funlockfile, wouldn't it be easy
> to implement them as macros in include/sys/stdio.h, using the already
> existing definitions for _flockfile and _funlockfile?
> 
> 
> Corinna
> 
> 
> ----- Forwarded message from Max Bowsher -----
> 
> 
>>Date: Thu, 13 May 2004 12:13:05 +0100
>>From: "Max Bowsher" 
>>Subject: [Bug] _POSIX_THREAD_SAFE_FUNCTIONS is defined, but it should not be?
>>To: <cygwin@cygwin.com>
>>
>>Cygwin defines _POSIX_THREAD_SAFE_FUNCTIONS (in newlib/include/sys/features.h), but it does not provide the following 7 functions,
>>which are among those that this define is supposed to indicate the presence of:
>>
>>flockfile
>>ftrylockfile
>>funlockfile
>>getgrgid_r
>>getgrnam_r
>>getlogin_r
>>readdir_r
>>
>>(I noticed this, because APR assumes readdir_r is available if that define is defined. This seems to be a valid assumption,
>>according to SUSv3).
>>
>>Max.
> 
> 
> ----- End forwarded message -----
> 



More information about the Cygwin-developers mailing list