dbghelp: Increase file read buffer size for calc_crc32.
authorKen Thomases <ken@codeweavers.com>
Wed, 11 Mar 2009 14:09:07 +0000 (09:09 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 12 Mar 2009 13:29:14 +0000 (14:29 +0100)
dlls/dbghelp/crc32.c

index 21333ac399d4efd98345d383b5eb591a90d16ac3..f07bf427d8198ccfe951cb9bd9514ae6e78c6cf3 100644 (file)
@@ -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);