This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC] Make _FILE_OFFSET_BITS=64 default.
- From: Russ Allbery <eagle at eyrie dot org>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: "Joseph S. Myers" <joseph at codesourcery dot com>, libc-alpha at sourceware dot org, OndÅej BÃlka <neleai at seznam dot cz>, Paul Eggert <eggert at cs dot ucla dot edu>, Denis Obrezkov <reprofy at etersoft dot ru>
- Date: Thu, 13 Mar 2014 23:55:55 -0700
- Subject: Re: [RFC] Make _FILE_OFFSET_BITS=64 default.
- Authentication-results: sourceware.org; auth=none
- References: <1393521776-1102-1-git-send-email-reprofy at etersoft dot ru> <26837730 dot jZzKCPMtpS at vapier> <Pine dot LNX dot 4 dot 64 dot 1403131254080 dot 4888 at digraph dot polyomino dot org dot uk> <1818532 dot 29kOdgNHi0 at vapier>
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/>