OSDN Git Service

expose TSVTX unconditionally in tar.h
authorRich Felker <dalias@aerifal.cx>
Wed, 13 Mar 2019 14:38:12 +0000 (10:38 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 13 Mar 2019 14:42:57 +0000 (10:42 -0400)
as noted in Austin Group issue #1236, the XSI shading for TSVTX is
misplaced in the html version of the standard; it was only supposed to
be on the description text. the intent was that the definition always
be visible, which is reflected in the pdf version of the standard.

this reverts commits d93c0740d86aaf7043e79b942a6c0b3f576af4c8 and
729fef0a9358e2f6f1cd8c75a1a0f7ee48b08c95.

include/tar.h

index 2eba66e..be58984 100644 (file)
@@ -1,13 +1,9 @@
 #ifndef        _TAR_H
 #define        _TAR_H
 
-#include <features.h>
-
 #define TSUID   04000
 #define TSGID   02000
-#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_XOPEN_SOURCE)
 #define TSVTX   01000
-#endif
 #define TUREAD  00400
 #define TUWRITE 00200
 #define TUEXEC  00100