Re: [PATCH 6/6] zlib: zlib can only process 4GB at a time
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 12, 2011, 21:33 UTC
- Message-ID
- <7v4o3uspiy.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <BANLkTikmLDZj2qdkmF-kBUkB33o9EjtBpg@mail.gmail.com>
Erik Faye-Lund <kusmabite@gmail.com> writes:
Show 6 quoted lines
> On Fri, Jun 10, 2011 at 10:15 PM, Junio C Hamano <gitster@pobox.com> wrote: >> The size of objects we read from the repository and data we try to put >> into the repository are represented in "unsigned long", so that on larger >> architectures we can handle objects that weigh more than 4GB. > > shouldn't this be "size_t" instead of "unsigned long"?
No, this must be unsigned long as that is the internal type we use.
Implementation of git on 32-bit platforms has always been limited to 4GB from day one. This topic is not about changing it.