This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/22125] New: Incorrect feature test macro markings for pthread_mutexattr_setrobust() and pthread_mutexattr_getrobust()
- From: "mtk.manpages at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 12 Sep 2017 11:30:15 +0000
- Subject: [Bug libc/22125] New: Incorrect feature test macro markings for pthread_mutexattr_setrobust() and pthread_mutexattr_getrobust()
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=22125
Bug ID: 22125
Summary: Incorrect feature test macro markings for
pthread_mutexattr_setrobust() and
pthread_mutexattr_getrobust()
Product: glibc
Version: 2.27
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: mtk.manpages at gmail dot com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
The macro guarding pthread_mutexattr_setrobust() and
pthread_mutexattr_getrobust() in sysdeps/nptl/pthread.h is __USE_XOPEN2K.
However, these two APIs first appeared in POSIX.1-2008/SUSv4. Therefore, the
macro should be __USE_XOPEN2K8.
Note that the closely related pthread_mutex_consistent(), which also first
appeared in POSIX.1-2008/SUSv4, is correctly guarded with __USE_XOPEN2K8 in the
same header file.
--
You are receiving this mail because:
You are on the CC list for the bug.