summaryrefslogtreecommitdiff
path: root/run-command.c
diff options
context:
space:
mode:
authorIan McLean <ian.mclean@gmail.com>2010-05-20 18:57:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-05-20 23:11:06 (GMT)
commit60890cc60ccfc7000791a47f1f3d69fdb8884dd7 (patch)
tree3dd29923f4bbf988e53883eb65394e6490d47f66 /run-command.c
parentcc24a1d809c75f0b6e5b1e56134b5127196bb2fb (diff)
downloadgit-60890cc60ccfc7000791a47f1f3d69fdb8884dd7.zip
git-60890cc60ccfc7000791a47f1f3d69fdb8884dd7.tar.gz
git-60890cc60ccfc7000791a47f1f3d69fdb8884dd7.tar.bz2
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 'run-command.c')
0 files changed, 0 insertions, 0 deletions