64-bit stat (or not) in 32-bit Fedora binaries

Colin Walters walters at verbum.org
Wed Feb 20 14:01:30 UTC 2013


On Wed, 2013-02-20 at 14:43 +0100, Joe Orton wrote:

> If we want the "system default" for the LFS APIs to change, surely it is 
> safer and more correct to change the system (libc) default and have 
> _FILE_OFFSET_BITS defined to 64 eveywhere?

The first option on the table should be patching upstreams, not hacking
around it in RPM or changing the default.

With autoconf, all you need is to add AC_SYS_LARGEFILE to configure.ac,
and assuming no source changes are necessary (note: not always the
case), then you're good.




More information about the devel mailing list