about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-05-13 16:57:09 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-05-13 16:57:09 +0000
commit8142262bc5f14bf83fd67f654298500eed45aeee (patch)
tree72c4ee0fa749b376a9181cb8f361e142c31f97c9
parent4facca0b0e0c99601673056352cd695102872828 (diff)
downloadglibc-8142262bc5f14bf83fd67f654298500eed45aeee.tar.gz
glibc-8142262bc5f14bf83fd67f654298500eed45aeee.tar.xz
glibc-8142262bc5f14bf83fd67f654298500eed45aeee.zip
conformtest: Do not expect strdup in string.h for XPG3.
This patch corrects a spurious conformtest expectation of strdup in
string.h for XPG3.

Tested for x86_64 and x86.

	* conform/data/string.h-data (strdup): Do not expect for [XPG3].
	* conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
	variable.
-rw-r--r--ChangeLog6
-rw-r--r--conform/Makefile1
-rw-r--r--conform/data/string.h-data2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8ccf928b02..193f1d4ac0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2016-05-13  Joseph Myers  <joseph@codesourcery.com>
+
+	* conform/data/string.h-data (strdup): Do not expect for [XPG3].
+	* conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
+	variable.
+
 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
 
 	[BZ #20072]
diff --git a/conform/Makefile b/conform/Makefile
index b46dc42f06..0d610ad99f 100644
--- a/conform/Makefile
+++ b/conform/Makefile
@@ -169,7 +169,6 @@ 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/string.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
diff --git a/conform/data/string.h-data b/conform/data/string.h-data
index cc3b1c9732..39fa76cd22 100644
--- a/conform/data/string.h-data
+++ b/conform/data/string.h-data
@@ -27,7 +27,7 @@ function int strcoll_l (const char*, const char*, locale_t)
 #endif
 function {char*} strcpy (char*, const char*)
 function size_t strcspn (const char*, const char*)
-#if !defined ISO && !defined ISO99 & !defined ISO11 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 & !defined ISO11 && !defined XPG3 && !defined POSIX && !defined POSIX2008
 function {char*} strdup (const char*)
 #endif
 function {char*} strerror (int)