about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-04-27 21:28:58 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-04-27 21:28:58 +0000
commit9a018860a758c8273d2b430661c8242f4f86487a (patch)
tree4f44cc318d1cd974989d824343a60a4cc9820f4c
parent1876dfe4c362c8cd96361aaf5fdc6ef29e36ec2d (diff)
downloadglibc-9a018860a758c8273d2b430661c8242f4f86487a.tar.gz
glibc-9a018860a758c8273d2b430661c8242f4f86487a.tar.xz
glibc-9a018860a758c8273d2b430661c8242f4f86487a.zip
conformtest: Correct stdio.h expectations for fdopen.
The conform/ test of stdio.h wrongly does not expect fdopen for XPG3
and XPG4.  fdopen is in those standards; this patch corrects the
expectations.

Tested for x86_64 and x86.

	* conform/data/stdio.h-data (fdopen): Expect also for
	[XPG3 || XPG4].
-rw-r--r--ChangeLog3
-rw-r--r--conform/data/stdio.h-data2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0685aa0f1f..17551f49ab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
 
+	* conform/data/stdio.h-data (fdopen): Expect also for
+	[XPG3 || XPG4].
+
 	* conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
 	(fseeko): Likewise.
 	(ftello): Likewise.
diff --git a/conform/data/stdio.h-data b/conform/data/stdio.h-data
index 2f382253f4..168128eac9 100644
--- a/conform/data/stdio.h-data
+++ b/conform/data/stdio.h-data
@@ -60,7 +60,7 @@ function {char*} cuserid (char*)
 function int dprintf (int, const char*, ...)
 #endif
 function int fclose (FILE*)
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG3 && !defined XPG4
+#if !defined ISO && !defined ISO99 && !defined ISO11
 function {FILE*} fdopen (int, const char*)
 #endif
 function int feof (FILE*)