x32 and width of blksize_t, suseconds_t
Paul Eggert
eggert@cs.ucla.edu
Fri Mar 16 08:19:00 GMT 2012
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'.
More information about the Libc-alpha
mailing list