http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
637827a
)
dbghelp: Increase file read buffer size for calc_crc32.
author
Ken Thomases
<ken@codeweavers.com>
Wed, 11 Mar 2009 14:09:07 +0000
(09:09 -0500)
committer
Alexandre Julliard
<julliard@winehq.org>
Thu, 12 Mar 2009 13:29:14 +0000
(14:29 +0100)
dlls/dbghelp/crc32.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/dbghelp/crc32.c
b/dlls/dbghelp/crc32.c
index 21333ac399d4efd98345d383b5eb591a90d16ac3..f07bf427d8198ccfe951cb9bd9514ae6e78c6cf3 100644
(file)
--- 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);