public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/320] New: rwlock features should not be dependent on XSI extensions
@ 2004-08-11 13:39 sebastien dot decugis at ext dot bull dot net
  2004-09-12 18:49 ` [Bug nptl/320] " drepper at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: sebastien dot decugis at ext dot bull dot net @ 2004-08-11 13:39 UTC (permalink / raw)
  To: glibc-bugs

The following code won't compile:
------------------------------------------
#define _POSIX_C_SOURCE 200112L
#include <pthread.h>

pthread_rwlock_t rw;

int main(int argc, char * argv[])
{
   return pthread_rwlock_init(&rw, NULL);
}
-------------------------------------------

It compiles when I add:
#define _XOPEN_SOURCE 600

But this feature is part of the IEEE Std 1003.1, 2004 Edition (and not marked
with the XSI extension). I am unsure whether /include/features.h or
/nptl/sysdeps/pthread/pthread.h should be changed.

Thanks, 
Sebastien.

-- 
           Summary: rwlock features should not be dependent on XSI
                    extensions
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: minor
          Priority: P3
         Component: nptl
        AssignedTo: drepper at redhat dot com
        ReportedBy: sebastien dot decugis at ext dot bull dot net
                CC: glibc-bugs at sources dot redhat dot com


http://sources.redhat.com/bugzilla/show_bug.cgi?id=320

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug nptl/320] rwlock features should not be dependent on XSI extensions
  2004-08-11 13:39 [Bug nptl/320] New: rwlock features should not be dependent on XSI extensions sebastien dot decugis at ext dot bull dot net
@ 2004-09-12 18:49 ` drepper at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: drepper at redhat dot com @ 2004-09-12 18:49 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2004-09-12 18:49 -------
Changes are in cvs.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sources.redhat.com/bugzilla/show_bug.cgi?id=320

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-12 18:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-11 13:39 [Bug nptl/320] New: rwlock features should not be dependent on XSI extensions sebastien dot decugis at ext dot bull dot net
2004-09-12 18:49 ` [Bug nptl/320] " drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).