[RFC] Make _FILE_OFFSET_BITS=64 default.

Florian Weimer fweimer@redhat.com
Wed Mar 5 18:37:00 GMT 2014


On 03/05/2014 07:07 PM, Rich Felker wrote:
> On Wed, Mar 05, 2014 at 11:42:39AM +0100, Florian Weimer wrote:
>> On 03/05/2014 10:13 AM, Ondřej Bílka wrote:
>>
>>> Changing default would be better. I dig while how to do it and can not
>>> find a nonugly solution. How should we do this?
>>
>> Isn't this a global ABI change?  I don't think we can do this.
>
> No, it's just a change in the default exposed features. There's no ABI
> issue because programs built with _FILE_OFFSET_BITS=64 access
> different symbols (the nasty namespace-violating ones with the 64
> suffix) rather than the ordinary ones.

Doesn't it changes the definition of off_t and ino_t as well?  While 
these aren't supposed to be used in public header files, such a change 
seems fairly risky to me.

-- 
Florian Weimer / Red Hat Product Security Team



More information about the Libc-alpha mailing list