diff options
author | Ian McLean <ian.mclean@gmail.com> | 2010-05-20 20:57:51 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-05-20 16:11:06 -0700 |
commit | 60890cc60ccfc7000791a47f1f3d69fdb8884dd7 (patch) | |
tree | 3dd29923f4bbf988e53883eb65394e6490d47f66 /pack.h | |
parent | cc24a1d809c75f0b6e5b1e56134b5127196bb2fb (diff) | |
download | git-60890cc60ccfc7000791a47f1f3d69fdb8884dd7.tar.gz git-60890cc60ccfc7000791a47f1f3d69fdb8884dd7.tar.xz |
Fix "Out of memory? mmap failed" for files larger than 4GB on Windows
The git_mmap implementation was broken for file sizes that wouldn't fit
into a size_t (32 bits). This was caused by intermediate variables that
were only 32 bits wide when they should be 64 bits.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack.h')
0 files changed, 0 insertions, 0 deletions