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 time/20041] New: sys/time.h timespec namespace


https://sourceware.org/bugzilla/show_bug.cgi?id=20041

            Bug ID: 20041
           Summary: sys/time.h timespec namespace
           Product: glibc
           Version: 2.23
            Status: NEW
          Severity: normal
          Priority: P2
         Component: time
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---

For UNIX98 and older standards, sys/time.h should not define struct timespec,
but does so via the inclusion of sys/select.h (which is a new header in the
2001 edition of POSIX, and defines struct timespec because of the declaration
of pselect, a new function in the 2001 edition of POSIX).  In turn, this
affects some other headers that themselves include sys/time.h.

-- 
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]