From: Joseph Myers Date: Wed, 27 Apr 2016 21:28:58 +0000 (+0000) Subject: conformtest: Correct stdio.h expectations for fdopen. X-Git-Tag: glibc-2.24~326 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a018860a758c8273d2b430661c8242f4f86487a;p=thirdparty%2Fglibc.git 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]. --- diff --git a/ChangeLog b/ChangeLog index 0685aa0f1f6..17551f49abb 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 2f382253f46..168128eac9c 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*)