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

Roland McGrath roland@hack.frob.com
Thu Mar 15 19:53:00 GMT 2012


> 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.


Thanks,
Roland



More information about the Libc-alpha mailing list