diff options
author | Joseph Myers <joseph@codesourcery.com> | 2016-04-28 17:00:52 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2016-04-28 17:00:52 +0000 |
commit | 10b8108aec36d8a2bff577c8b1d45ab9fe3bba87 (patch) | |
tree | 2cf5393f93f08dbc178bfc6e78cfcc25a38d9b08 /setjmp/jmpbug.c | |
parent | 2b54cbce2c363ab6ae89d10657d7465858116d7a (diff) | |
download | glibc-10b8108aec36d8a2bff577c8b1d45ab9fe3bba87.tar glibc-10b8108aec36d8a2bff577c8b1d45ab9fe3bba87.tar.gz glibc-10b8108aec36d8a2bff577c8b1d45ab9fe3bba87.tar.bz2 glibc-10b8108aec36d8a2bff577c8b1d45ab9fe3bba87.zip |
Also define off_t in stdio.h for UNIX98.
Similar to my previous fix for XOPEN2K
<https://sourceware.org/ml/libc-alpha/2016-04/msg00631.html>, 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.
Diffstat (limited to 'setjmp/jmpbug.c')
0 files changed, 0 insertions, 0 deletions