PATCH [3/n]: Add __snseconds_t and __SNSECONDS_T_TYPE

H.J. Lu hjl.tools@gmail.com
Wed Apr 11 16:55:00 GMT 2012


On Wed, Apr 11, 2012 at 9:47 AM, Roland McGrath <roland@hack.frob.com> wrote:
>> On Fri, Mar 16, 2012 at 3:58 PM, Roland McGrath <roland@hack.frob.com> wrote:
>> > It wasn't entirely clear to me that we'd resolved the question of tv_nsec
>> > ever not being 'long int'.  But this change itself doesn't ever define
>> > __snseconds_t to anything but that, so it is not a problem so far.
>>
>> Is this OK to install then?
>
> I guess I'd prefer that we come closer to a clear resolution on the
> question of the tv_nsec type before deciding.  If we're going to stick to
> the existing POSIX spec where tv_nsec must be 'long int', then there is no
> purpose to __snseconds_t but obfuscation.
>
> But if everyone is agreed that departing from POSIX here, or having POSIX
> changed, is a somewhat likely outcome, then the change can go in.
>
>

I don't believe x32 should follow the current POSIX to use "long int"
on __snseconds_t.


-- 
H.J.



More information about the Libc-alpha mailing list