This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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]

[Bug libc/22125] New: Incorrect feature test macro markings for pthread_mutexattr_setrobust() and pthread_mutexattr_getrobust()


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.

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