conformtest: Correct stdio.h expectations for fdopen.

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].
This commit is contained in:
Joseph Myers 2016-04-27 21:28:58 +00:00
parent 1876dfe4c3
commit 9a018860a7
2 changed files with 4 additions and 1 deletions

View File

@ -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.

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