瀏覽代碼

expose TSVTX unconditionally in tar.h

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.
Rich Felker 6 年之前
父節點
當前提交
81221e13f9
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      include/tar.h

+ 0 - 4
include/tar.h

@@ -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