diff mbox

conformtest: clean up POSIX expectations for stdlib.h, string.h

Message ID Pine.LNX.4.64.1403171510330.31908@digraph.polyomino.org.uk
State New
Headers show

Commit Message

Joseph Myers March 17, 2014, 3:15 p.m. UTC
Continuing the series of patches to clean up conformtest expectations
for "POSIX" (1995/6) based on review of the expectations against the
standard, this patch cleans up expectations for stdlib.h and
string.h.  Tested x86_64; no new XFAILs needed.

2014-03-17  Joseph Myers  <joseph@codesourcery.com>

	* conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
	header inclusion.
	[POSIX] (limits.h): Likewise.
	[POSIX] (math.h): Likewise.
	[POSIX] (sys/wait.h): Likewise.
	* conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
	function.
	[POSIX] (stddef.h): Do not allow header inclusion.

Comments

Joseph Myers March 24, 2014, 2:21 p.m. UTC | #1
Ping.  This patch 
<https://sourceware.org/ml/libc-alpha/2014-03/msg00481.html> is pending 
review.
Joseph Myers March 31, 2014, 1:11 p.m. UTC | #2
Ping^2.  This patch 
<https://sourceware.org/ml/libc-alpha/2014-03/msg00481.html> is still 
pending review.
Joseph Myers April 22, 2014, 9:22 p.m. UTC | #3
Ping^3.  This patch 
<https://sourceware.org/ml/libc-alpha/2014-03/msg00481.html> is still 
pending review.
Joseph Myers April 29, 2014, 9:06 p.m. UTC | #4
Ping^4.  This patch 
<https://sourceware.org/ml/libc-alpha/2014-03/msg00481.html> is still 
pending review.
Adhemerval Zanella April 30, 2014, 2:12 p.m. UTC | #5
On 29-04-2014 18:06, Joseph S. Myers wrote:
> Ping^4.  This patch 
> <https://sourceware.org/ml/libc-alpha/2014-03/msg00481.html> is still 
> pending review.
>
LGTM, I checked on powerpc64, no new XFAILs needed as well.
diff mbox

Patch

diff --git a/conform/data/stdlib.h-data b/conform/data/stdlib.h-data
index 382fff6..abe296a 100644
--- a/conform/data/stdlib.h-data
+++ b/conform/data/stdlib.h-data
@@ -177,7 +177,7 @@  function {void*} valloc (size_t)
 function size_t wcstombs (char*, const wchar_t*, size_t)
 function int wctomb (char*, wchar_t)
 
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
 allow-header stddef.h
 allow-header limits.h
 allow-header math.h
diff --git a/conform/data/string.h-data b/conform/data/string.h-data
index 365a537..cc3b1c9 100644
--- a/conform/data/string.h-data
+++ b/conform/data/string.h-data
@@ -53,7 +53,7 @@  function {char*} strsignal (int)
 function size_t strspn (const char*, const char*)
 function {char*} strstr (const char*, const char*)
 function {char*} strtok (char*, const char*)
-#if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
+#if defined POSIX || defined UNIX98 || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
 function {char*} strtok_r (char*, const char*, char**)
 #endif
 function size_t strxfrm (char*, const char*, size_t)
@@ -61,7 +61,7 @@  function size_t strxfrm (char*, const char*, size_t)
 function size_t strxfrm_l (char*, const char*, size_t, locale_t)
 #endif
 
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
 allow-header stddef.h
 #endif