git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Tony Finch
Message 7 of 7 in “64-bit fix for date.c.”
  1. 64-bit fix for date.c.Bernd Ahlers, Apr 6, 2009
  2. Jeff KingApr 6, 2009
  3. Bernd AhlersMay 4, 2009
  4. Jeff KingMay 4, 2009
  5. Junio C HamanoMay 6, 2009
  6. Tony FinchMay 6, 2009
  7. Jeff KingMay 6, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.