From 0014680d6a5bdeb4fe17682450105ebed19f35da Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 17 May 2016 15:51:55 +0000 Subject: Do not declare grantpt, ptsname, unlockpt in stdlib.h for XPG3 (bug 20094). stdlib.h declares grantpt, ptsname, unlockpt for __USE_XOPEN. This patch corrects the condition to __USE_XOPEN_EXTENDED (these functions are new in XPG4). Tested for x86_64 and x86 (testsuite, and that installed shared libraries are unchanged by the patch). [BZ #20094] * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED], not [__USE_XOPEN]. (unlockpt): Likewise. (ptsname): Likewise. * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove variable. --- conform/Makefile | 1 - 1 file changed, 1 deletion(-) (limited to 'conform') diff --git a/conform/Makefile b/conform/Makefile index f668b2e19a..6c7b683ec2 100644 --- a/conform/Makefile +++ b/conform/Makefile @@ -168,7 +168,6 @@ test-xfail-XPG3/limits.h/conform = yes test-xfail-XPG3/pwd.h/conform = yes test-xfail-XPG3/search.h/conform = yes test-xfail-XPG3/signal.h/conform = yes -test-xfail-XPG3/stdlib.h/conform = yes test-xfail-XPG3/sys/wait.h/conform = yes test-xfail-XPG4/arpa/inet.h/conform = yes test-xfail-XPG4/netdb.h/conform = yes -- cgit v1.2.3