This is the mail archive of the cygwin-developers@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]

Re: [Fwd: [Bug] _POSIX_THREAD_SAFE_FUNCTIONS is defined, but it shouldnot be?]


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 -----



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