]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
conformtest: Correct stdio.h expectations for fdopen.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 27 Apr 2016 21:28:58 +0000 (21:28 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 27 Apr 2016 21:28:58 +0000 (21:28 +0000)
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].

ChangeLog
conform/data/stdio.h-data

index 0685aa0f1f64159e43153d8b715f36aa68a9e514..17551f49abbaffc64577c46ea7be09c9e8127718 100644 (file)
--- 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.
index 2f382253f4685a0b7f7e974339753f51ae0338a1..168128eac9c56b5b2639ffaa21f13f5624668fbf 100644 (file)
@@ -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*)