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

Re: [PATCH] Fix git-pack-objects for 64-bit platforms

From
Linus Torvalds <torvalds@osdl.org>
Date
May 11, 2006, 19:10 UTC
Message-ID
<Pine.LNX.4.64.0605111207200.3866@g5.osdl.org>
In-Reply-To
<7v7j4swg0r.fsf@assigned-by-dhcp.cox.net>
On Thu, 11 May 2006, Junio C Hamano wrote:
> 
> Is uint32_t guaranteed to be exactly 32-bit, or merely enough to
> hold 32-bit?

I think it's guaranteed to be 32-bit, but regardless, the current git headers already assume that "unsigned int" is 32-bit.

Which is a pretty safe assumption for at least the next ten years or so, possibly much longer. So I don't think we need to worry _too_ much about this. I think it's more important to try to get git working on Windows, than on 16-bit DOS or on a PDP-9, or one of the odd cray machines.

		Linus
Previous: Junio C HamanoNext: Linus Torvalds
Message 4 of 10 in “Fix git-pack-objects for 64-bit platforms”
  1. Fix git-pack-objects for 64-bit platformsDennis Stosberg, May 11, 2006
  2. Linus TorvaldsMay 11, 2006
  3. Junio C HamanoMay 11, 2006
  4. Linus TorvaldsMay 11, 2006
  5. Linus TorvaldsMay 11, 2006
  6. Junio C HamanoMay 13, 2006
  7. Ben CliffordMay 14, 2006
  8. include header to define uint32_t, necessary on Mac OS XBen Clifford, May 14, 2006
  9. Alex RiesenMay 20, 2006
  10. Linus TorvaldsMay 20, 2006

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.