conformtest: Correct stdio.h expectations for fdopen [committed]
Joseph Myers
joseph@codesourcery.com
Wed Apr 27 21:29:00 GMT 2016
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
More information about the Libc-alpha
mailing list