public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/16670] New: sched.h should include time.h for older POSIX / UNIX98
@ 2014-03-07 18:14 jsm28 at gcc dot gnu.org
  2014-03-07 20:55 ` [Bug libc/16670] " cvs-commit at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2014-03-07 18:14 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 16670
           Summary: sched.h should include time.h for older POSIX / UNIX98
           Product: glibc
           Version: 2.19
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
                CC: drepper.fsp at gmail dot com

Older versions of POSIX (1993, 1995/6) and UNIX98 require <sched.h> to make all
symbols from <time.h> visible; only the 2001 edition made this optional.  glibc
fails to meet this requirement.  Testing a patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug libc/16670] sched.h should include time.h for older POSIX / UNIX98
  2014-03-07 18:14 [Bug libc/16670] New: sched.h should include time.h for older POSIX / UNIX98 jsm28 at gcc dot gnu.org
@ 2014-03-07 20:55 ` cvs-commit at gcc dot gnu.org
  2014-03-07 20:57 ` jsm28 at gcc dot gnu.org
  2014-06-13  6:36 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2014-03-07 20:55 UTC (permalink / raw)
  To: glibc-bugs

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.


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

* [Bug libc/16670] sched.h should include time.h for older POSIX / UNIX98
  2014-03-07 18:14 [Bug libc/16670] New: sched.h should include time.h for older POSIX / UNIX98 jsm28 at gcc dot gnu.org
  2014-03-07 20:55 ` [Bug libc/16670] " cvs-commit at gcc dot gnu.org
@ 2014-03-07 20:57 ` jsm28 at gcc dot gnu.org
  2014-06-13  6:36 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2014-03-07 20:57 UTC (permalink / raw)
  To: glibc-bugs

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

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

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.20.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug libc/16670] sched.h should include time.h for older POSIX / UNIX98
  2014-03-07 18:14 [Bug libc/16670] New: sched.h should include time.h for older POSIX / UNIX98 jsm28 at gcc dot gnu.org
  2014-03-07 20:55 ` [Bug libc/16670] " cvs-commit at gcc dot gnu.org
  2014-03-07 20:57 ` jsm28 at gcc dot gnu.org
@ 2014-06-13  6:36 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13  6:36 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

end of thread, other threads:[~2014-06-13  6:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-07 18:14 [Bug libc/16670] New: sched.h should include time.h for older POSIX / UNIX98 jsm28 at gcc dot gnu.org
2014-03-07 20:55 ` [Bug libc/16670] " cvs-commit at gcc dot gnu.org
2014-03-07 20:57 ` jsm28 at gcc dot gnu.org
2014-06-13  6:36 ` fweimer 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).