Re: [PATCH] 64-bit fix for date.c.
- From
Jeff King <peff@peff.net>
- Date
- May 6, 2009, 16:49 UTC
- Message-ID
- <20090506164900.GA15160@sigill.intra.peff.net>
- In-Reply-To
- <alpine.LSU.2.00.0905061523300.28199@hermes-2.csi.cam.ac.uk>
On Wed, May 06, 2009 at 03:26:36PM +0100, Tony Finch wrote:
Show 6 quoted lines
> Jeff King [Mon, Apr 06, 2009 at 03:06:58PM -0400] wrote: > > > >Hmph. According to POSIX, tv_sec _is_ a time_t. But I see on FreeBSD, > >also, it is actually a "long". So I think this fix makes sense. > > FreeBSD-7 has time_t tv_sec.
Thanks for the data point (I had looked at FreeBSD 6). I think this fix still makes sense, though, as it should work on either type (and we need to support the older platforms, too).
-Peff