From df0f32bbd953544aa7a3e55010d9b7d9993dfcc0 Mon Sep 17 00:00:00 2001 From: Ken Thomases Date: Wed, 11 Mar 2009 09:09:07 -0500 Subject: [PATCH] dbghelp: Increase file read buffer size for calc_crc32. --- dlls/dbghelp/crc32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dbghelp/crc32.c b/dlls/dbghelp/crc32.c index 21333ac399d..f07bf427d81 100644 --- a/dlls/dbghelp/crc32.c +++ b/dlls/dbghelp/crc32.c @@ -136,7 +136,7 @@ DWORD calc_crc32(int fd) 0xb40bbe37, 0xc30c8ea1, 0x5a05df1b, 0x2d02ef8d }; int i, r; - unsigned char buffer[256]; + unsigned char buffer[8192]; DWORD crc = ~0; lseek(fd, 0, SEEK_SET);