This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 --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*)

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]