This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [RFC] Copy as much as you can during a 32-bit stat before returning EOVERFLOW?
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Rich Felker <dalias at aerifal dot cx>
- Cc: Carlos O'Donell <carlos at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>, libc-ports at sourceware dot org
- Date: Tue, 26 Feb 2013 15:58:14 -0800 (PST)
- Subject: Re: [RFC] Copy as much as you can during a 32-bit stat before returning EOVERFLOW?
- References: <512D1335.1020704@redhat.com> <20130226234849.GH20323@brightrain.aerifal.cx>
> Stage 1: Change the default for _FILE_OFFSET_BITS to 64 on all
> targets, and make 32-bit off_t accessible only by explicitly
> requesting -D_FILE_OFFSET_BITS=32. This should help transition all the
> stragglers who are just straggling because they don't know better; the
> few who have fundamentally buggy code that's incompatible with 64-bit
> off_t can use the workaround (-D_FILE_OFFSET_BITS=32) until they get
> their acts together.
This makes library ABIs silently become incompatible with past builds.
That's a non-starter.
I'm somewhat sympathetic to the overall goal, but I'm not at all sure what
a viable migration path might be.
Regardless, don't hijack this thread for that subject.
Start your own thread.
Thanks,
Roland