This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
conformtest: Correct stdio.h expectations for fdopen [committed]
- From: Joseph Myers <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Wed, 27 Apr 2016 21:29:42 +0000
- Subject: conformtest: Correct stdio.h expectations for fdopen [committed]
- Authentication-results: sourceware.org; auth=none
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