about summary refs log tree commit diff
path: root/conform/Makefile
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-05-17 15:50:00 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-05-17 15:50:00 +0000
commit9ff81856dbbbcedb63de546d10dc1cdaeb982a6b (patch)
tree005d752183dda226c337decdeb5f2ee2ab5c3e39 /conform/Makefile
parentb098852ac2664e7857387c2071439e1473e6e899 (diff)
downloadglibc-9ff81856dbbbcedb63de546d10dc1cdaeb982a6b.tar.gz
glibc-9ff81856dbbbcedb63de546d10dc1cdaeb982a6b.tar.xz
glibc-9ff81856dbbbcedb63de546d10dc1cdaeb982a6b.zip
Make sys/stat.h define S_IFSOCK, S_ISSOCK for XPG4 (bug 20076).
sys/stat.h should define S_IFSOCK and S_ISSOCK for XPG4 (XNS), but
does not.  This patch corrects the relevant header conditionals.

Tested for x86_64 and x86 (testsuite, and that installed shared
libraries are unchanged by the patch).

	[BZ #20076]
	* io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
	instead of [__USE_UNIX98].
	(S_ISSOCK): Likewise.
	* conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
	variable.
Diffstat (limited to 'conform/Makefile')
-rw-r--r--conform/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/conform/Makefile b/conform/Makefile
index 8e9ad85772..f668b2e19a 100644
--- a/conform/Makefile
+++ b/conform/Makefile
@@ -174,7 +174,6 @@ test-xfail-XPG4/arpa/inet.h/conform = yes
 test-xfail-XPG4/netdb.h/conform = yes
 test-xfail-XPG4/netinet/in.h/conform = yes
 test-xfail-XPG4/signal.h/conform = yes
-test-xfail-XPG4/sys/stat.h/conform = yes
 test-xfail-XPG4/sys/wait.h/conform = yes
 test-xfail-XPG4/ucontext.h/conform = yes
 test-xfail-POSIX/sys/wait.h/conform = yes