This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH [4/n]: Support 64bit time_t and 32bit long
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 15 Mar 2012 12:52:58 -0700 (PDT)
- Subject: Re: PATCH [4/n]: Support 64bit time_t and 32bit long
- References: <20120315193843.GA16720@intel.com>
> 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