diff options
author | Joseph Myers <joseph@codesourcery.com> | 2016-05-10 21:52:08 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2016-05-10 21:52:08 +0000 |
commit | 8da7d8f877d1eeb02cd00dd3ce1f13da951e72b0 (patch) | |
tree | 1a4b514a5945c016451818a4ddc13dec4d6b608d /ChangeLog | |
parent | 23f3a3b5d4f1f1fb77c82899787d69812bd21cf9 (diff) | |
download | glibc-8da7d8f877d1eeb02cd00dd3ce1f13da951e72b0.zip glibc-8da7d8f877d1eeb02cd00dd3ce1f13da951e72b0.tar.gz glibc-8da7d8f877d1eeb02cd00dd3ce1f13da951e72b0.tar.bz2 |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,5 +1,11 @@ 2016-05-10 Joseph Myers <joseph@codesourcery.com> + [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. + * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect. [XPG3] (S_IFSOCK): Likewise. [XPG3] (S_ISVTX): Likewise. |