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/20073] sys/stat.h fchmod namespace


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

--- 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  8da7d8f877d1eeb02cd00dd3ce1f13da951e72b0 (commit)
      from  23f3a3b5d4f1f1fb77c82899787d69812bd21cf9 (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=8da7d8f877d1eeb02cd00dd3ce1f13da951e72b0

commit 8da7d8f877d1eeb02cd00dd3ce1f13da951e72b0
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue May 10 21:52:08 2016 +0000

    Fix sys/stat.h fchmod namespace (bug 20073).

    sys/stat.h declares fchmod if __USE_POSIX (i.e. POSIX.1:1990).  But it
    was actually added in 1993 and also in XPG4.  This patch changes the
    conditions to the correct __USE_POSIX199309 || __USE_XOPEN_EXTENDED.

    Tested for x86_64 and x86 (testsuite, and that installed shared
    libraries are unchanged by the patch).

        [BZ #20073]
        * io/sys/stat.h (fchmod): Declare for
        [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
        * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
        variable.

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

Summary of changes:
 ChangeLog        |    6 ++++++
 conform/Makefile |    1 -
 io/sys/stat.h    |    2 +-
 3 files changed, 7 insertions(+), 2 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]