diff options
author | Joseph Myers <joseph@codesourcery.com> | 2016-05-12 17:39:04 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2016-05-12 17:39:04 +0000 |
commit | 7f8843c92a6b28f8184ed13705a8de54206f759e (patch) | |
tree | a4e6aa1040d7dfb0d44231c037fc8ee847e82e4c /ChangeLog | |
parent | 612fe4327577f9afaf6f45b400a737683eef9d0c (diff) | |
download | glibc-7f8843c92a6b28f8184ed13705a8de54206f759e.tar glibc-7f8843c92a6b28f8184ed13705a8de54206f759e.tar.gz glibc-7f8843c92a6b28f8184ed13705a8de54206f759e.tar.bz2 glibc-7f8843c92a6b28f8184ed13705a8de54206f759e.zip |
conformtest: Correct some unistd.h expectations for XPG3, XPG4.
The conformtest tests of unistd.h fail for XPG3 because of various
expectations that are incorrect for XPG3. This patch corrects those
bogus expectations, and one bogus expectation for XPG4. (This is not
based on a full review of the standards so there may well still be
other bugs in the expectations for this header.)
Tested for x86_64 and x86.
* conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
(F_ULOCK): Likewise.
(F_TEST): Likewise.
(F_TLOCK): Likewise.
(useconds_t): Likewise.
(intptr_t): Do not expect for [XPG3] or [XPG4].
(brk): Do not expect for [XPG3]
(fchown): Likewise.
(fchdir): Likewise.
(ftruncate): Likewise.
(getdtablesize): Likewise.
(gethostid): Likewise.
(getpagesize): Likewise.
(getpgid): Likewise.
(getsid): Likewise.
(getwd): Likewise.
(lchown): Likewise.
(lockf): Likewise.
(readlink): Likewise.
(sbrk): Likewise.
(setpgrp): Likewise.
(setregid): Likewise.
(setreuid): Likewise.
(symlink): Likewise.
(sync): Likewise.
(truncate): Likewise.
(ualarm): Likewise.
(usleep): Likewise.
(vfork): Likewise.
* conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
variable.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -1,5 +1,37 @@ 2016-05-12 Joseph Myers <joseph@codesourcery.com> + * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3]. + (F_ULOCK): Likewise. + (F_TEST): Likewise. + (F_TLOCK): Likewise. + (useconds_t): Likewise. + (intptr_t): Do not expect for [XPG3] or [XPG4]. + (brk): Do not expect for [XPG3] + (fchown): Likewise. + (fchdir): Likewise. + (ftruncate): Likewise. + (getdtablesize): Likewise. + (gethostid): Likewise. + (getpagesize): Likewise. + (getpgid): Likewise. + (getsid): Likewise. + (getwd): Likewise. + (lchown): Likewise. + (lockf): Likewise. + (readlink): Likewise. + (sbrk): Likewise. + (setpgrp): Likewise. + (setregid): Likewise. + (setreuid): Likewise. + (symlink): Likewise. + (sync): Likewise. + (truncate): Likewise. + (ualarm): Likewise. + (usleep): Likewise. + (vfork): Likewise. + * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove + variable. + [BZ #20054] * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED], not [__USE_UNIX98]. |