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/16670] sched.h should include time.h for older POSIX / UNIX98


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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  bc61d27c616f517521826581f0401f5b81772a65 (commit)
      from  302949e2940a9da3f6364a1574619e621b7e1e71 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=bc61d27c616f517521826581f0401f5b81772a65

commit bc61d27c616f517521826581f0401f5b81772a65
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Mar 7 20:54:03 2014 +0000

    Include all of <time.h> from <sched.h> for older standards (bug 16670).

    This patch fixes one of the header namespace issues shown up by
    conformtest, <sched.h> failing to expose all symbols from <time.h> as
    required by older standards.  The patch keeps the existing behavior if
    __USE_XOPEN2K is defined (the default; POSIX.1-2001 was the version
    that made it optional to expose these symbols), but ensures that all
    the symbols from <time.h> are exposed if an older standard is
    selected.  Tested x86_64.

        [BZ #16670]
        * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
        before #include of <time.h>.
        [!__USE_XOPEN2K] (__need_timespec): Likewise.
        * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
        (test-xfail-UNIX98/sched.h/conform): Likewise.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |    9 +++++++++
 NEWS             |    2 +-
 conform/Makefile |    2 --
 posix/sched.h    |    6 ++++--
 4 files changed, 14 insertions(+), 5 deletions(-)

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