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

Max Bowsher maxb@ukf.net
Thu May 13 12:22:00 GMT 2004


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.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list