diff mbox

conformtest: Correct stdio.h expectations for fdopen [committed]

Message ID alpine.DEB.2.20.1604272129150.12753@digraph.polyomino.org.uk
State New
Headers show

Commit Message

Joseph Myers April 27, 2016, 9:29 p.m. UTC
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.  Committed.

2016-04-27  Joseph Myers  <joseph@codesourcery.com>

	* conform/data/stdio.h-data (fdopen): Expect also for
	[XPG3 || XPG4].
diff mbox

Patch

diff --git a/conform/data/stdio.h-data b/conform/data/stdio.h-data
index 2f38225..168128e 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*)