This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: x32 and width of blksize_t, suseconds_t
On 03/16/2012 01:19 AM, Paul Eggert wrote:
> Come to think of it, the proposed x32 patch may have issues
> with blksize_t and suseconds_t as well. POSIX says that an x32
> implementation must support at least one programming environment
> (presumably settable via a feature test macro) where blksize_t
> and suseconds_t are no wider than 'long'; see
> <http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_types.h.html>.
> But if I understand things correctly, x32 glibc would
> define these to be 'long long'. This issue affects system
> calls such as 'stat' and 'select'.
That's just not going to happen, sorry. Why on Earth is this a
requirement? It makes no sense whatsoever.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.