This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
[Fwd: [Bug] _POSIX_THREAD_SAFE_FUNCTIONS is defined, but it should not be?]
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: Thomas Pfaff <tpfaff at gmx dot net>
- Cc: cygwin-developers at cygwin dot com
- Date: Thu, 13 May 2004 15:57:41 +0200
- Subject: [Fwd: [Bug] _POSIX_THREAD_SAFE_FUNCTIONS is defined, but it should not be?]
- Reply-to: cygwin-developers at cygwin dot com
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 -----
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Co-Project Leader mailto:cygwin@cygwin.com
Red Hat, Inc.