[RFC] Make _FILE_OFFSET_BITS=64 default.

Russ Allbery eagle@eyrie.org
Fri Mar 14 06:56:00 GMT 2014


Mike Frysinger <vapier@gentoo.org> writes:

> i'm debating adding it to the next Gentoo glibc version to gather some
> actual data since no one seems to want to move w/out data, but no one
> wants to gather data either.

The change will definitely break INN, which uses off_t in on-disk data
structures.  (A bad design decision made years ago and never properly
expunged.)  That said, it's already the case that INN built with
large-file support and without uses incompatible data structures and
whether to do so is a standard compile-time option, so distributions are
already aware of this problem and are already dealing with it in some
fashion, and INN could be changed to undefine the relevant macros if
configured to *not* have large file support (instead of what it does
now).

-- 
Russ Allbery (eagle@eyrie.org)              <http://www.eyrie.org/~eagle/>



More information about the Libc-alpha mailing list