PATCH [4/n]: Support 64bit time_t and 32bit long

H.J. Lu hjl.tools@gmail.com
Thu Mar 15 19:54:00 GMT 2012


On Thu, Mar 15, 2012 at 12:52 PM, Roland McGrath <roland@hack.frob.com> wrote:
>> Linux/x32 uses 64bit time_t and 32bit long.  This patch updates
>> ydhms_diff to support TIME_T_MAX != LONG_MAX.  It also updates __offtime
>> to propeyly check overflow when converting time_t to long.
>
> These are two separate changes.  The mktime change can go in no problem.
> The offtime change needs more consideration.
>
>

I will resubmit them separately.

Thanks.

-- 
H.J.



More information about the Libc-alpha mailing list