about summary refs log tree commit diff
path: root/conform
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-05-23 20:37:40 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-05-23 20:37:40 +0000
commite59252a58edad4bf74a094e22a70811d5585c60f (patch)
treed4b954315b0a8bfe1a3a905d12afe1d8174f18d8 /conform
parentbc89e9625fc0d638c4bb43c91fac01db181f1b31 (diff)
downloadglibc-e59252a58edad4bf74a094e22a70811d5585c60f.tar.gz
glibc-e59252a58edad4bf74a094e22a70811d5585c60f.tar.xz
glibc-e59252a58edad4bf74a094e22a70811d5585c60f.zip
Define TSVTX in tar.h for older POSIX (bug 16978).
As noted in bug 16978, older POSIX versions include

in the specified contents of <tar.h>, with only the 2001 edition
introducing the notion of XSI-conditional definitions and conditioning
that definition.  Thus, this macro should be defined for
!__USE_XOPEN2K as well as for __USE_XOPEN, and this patch duly defines
it in that case.  Tested x86_64.

	[BZ #16978]
	* posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
	* conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
	variable.
Diffstat (limited to 'conform')
-rw-r--r--conform/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/conform/Makefile b/conform/Makefile
index e1df914904..6bff8a3371 100644
--- a/conform/Makefile
+++ b/conform/Makefile
@@ -188,7 +188,6 @@ test-xfail-XPG4/termios.h/conform = yes
 test-xfail-XPG4/ucontext.h/conform = yes
 test-xfail-XPG4/unistd.h/conform = yes
 test-xfail-XPG4/utmpx.h/conform = yes
-test-xfail-POSIX/tar.h/conform = yes
 test-xfail-UNIX98/arpa/inet.h/conform = yes
 test-xfail-UNIX98/fcntl.h/conform = yes
 test-xfail-UNIX98/langinfo.h/conform = yes