From 9a018860a758c8273d2b430661c8242f4f86487a Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 27 Apr 2016 21:28:58 +0000 Subject: [PATCH] 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]. --- ChangeLog | 3 +++ conform/data/stdio.h-data | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0685aa0f1f..17551f49ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2016-04-27 Joseph Myers + * 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. diff --git a/conform/data/stdio.h-data b/conform/data/stdio.h-data index 2f382253f4..168128eac9 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*)