Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6e8a178
)
Use MAX_MAP_SIZE in the args to map_file().
author
Wayne Davison
<wayned@samba.org>
Tue, 3 Aug 2004 15:37:54 +0000
(15:37 +0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 3 Aug 2004 15:37:54 +0000
(15:37 +0000)
checksum.c
patch
|
blob
|
blame
|
history
diff --git
a/checksum.c
b/checksum.c
index
e3b8719
..
b64f4c9
100644
(file)
--- a/
checksum.c
+++ b/
checksum.c
@@
-102,7
+102,7
@@
void file_checksum(char *fname,char *sum,OFF_T size)
if (fd == -1)
return;
- buf = map_file(fd, size,
CSUM_CHUNK * 2048, 0
);
+ buf = map_file(fd, size,
MAX_MAP_SIZE, CSUM_CHUNK
);
mdfour_begin(&m);