[PATCH RESEND] zic, various tests: use LFS I/O functions explicitly where needed

Nick Alcock nix@esperi.org.uk
Mon Jun 26 10:32:00 GMT 2017


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
tests :)

-- 
NULL && (void)



More information about the Libc-alpha mailing list