From e59252a58edad4bf74a094e22a70811d5585c60f Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 23 May 2014 20:37:40 +0000 Subject: Define TSVTX in tar.h for older POSIX (bug 16978). As noted in bug 16978, older POSIX versions include in the specified contents of , 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. --- posix/tar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'posix') diff --git a/posix/tar.h b/posix/tar.h index 115f4dfeab..5a86f01fcc 100644 --- a/posix/tar.h +++ b/posix/tar.h @@ -73,7 +73,7 @@ /* The bits in mode: */ #define TSUID 04000 #define TSGID 02000 -#ifdef __USE_XOPEN +#if defined __USE_XOPEN || !defined __USE_XOPEN2K # define TSVTX 01000 #endif #define TUREAD 00400 -- cgit 1.4.1