From 10b8108aec36d8a2bff577c8b1d45ab9fe3bba87 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 28 Apr 2016 17:00:52 +0000 Subject: Also define off_t in stdio.h for UNIX98. Similar to my previous fix for XOPEN2K , now that bugs in the conformtest expectations for stdio.h for UNIX98 have been corrected, that case too fails because fseeko and ftello are now correctly expected, but off_t is not defined. As in that fix, it seems appropriate to define off_t in stdio.h for this standard as well, and this patch does so. Tested for x86_64 and x86 (testsuite, and that installed shared libraries are unchanged by the patch). * libio/stdio.h (off_t): Also define if [__USE_UNIX98]. [__USE_LARGEFILE64] (off64_t): Likewise. * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove variable. --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 8963152166..715acc66ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2016-04-28 Joseph Myers + + * libio/stdio.h (off_t): Also define if [__USE_UNIX98]. + [__USE_LARGEFILE64] (off64_t): Likewise. + * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove + variable. + 2016-04-28 Florian Weimer * inet/getnameinfo.c (getnameinfo): Do not preserve errno. -- cgit v1.2.3