This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH RESEND] zic, various tests: use LFS I/O functions explicitly where needed
- From: Nick Alcock <nix at esperi dot org dot uk>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 26 Jun 2017 11:32:38 +0100
- Subject: Re: [PATCH RESEND] zic, various tests: use LFS I/O functions explicitly where needed
- Authentication-results: sourceware.org; auth=none
- References: <email@example.com> <firstname.lastname@example.org>
On 26 Jun 2017, Florian Weimer uttered the following:
> On 06/25/2017 11:17 PM, Nick Alcock wrote:
>> This happens because itsdir() in timezone/zic.c does a stat() of each
>> element of the path in turn, and this returns -EOVERFLOW because on this
>> system /usr has an inode number of 7516193792 and we did not compile zic
>> with -D_FILE_OFFSET_BITS=64 or use stat64(). So do the latter, as other
>> tools in glibc do.
> The zic issue looks like a user-visible bug, so please file a bug in
> Bugzilla for it. Or perhaps reuse bug 15333?
I'll use 15333: it's clearly the same bug, plus a bunch of affected
NULL && (void)