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 (parent:
98f51bf
)
Added a def_window_size variable to struct map_struct.
author
Wayne Davison
<wayned@samba.org>
Tue, 20 Jul 2004 21:08:33 +0000
(21:08 +0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 20 Jul 2004 21:08:33 +0000
(21:08 +0000)
rsync.h
patch
|
blob
|
blame
|
history
diff --git
a/rsync.h
b/rsync.h
index
07f447b
..
b530842
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-480,11
+480,9
@@
struct sum_struct {
struct map_struct {
char *p; /* Window pointer */
int fd; /* File Descriptor */
struct map_struct {
char *p; /* Window pointer */
int fd; /* File Descriptor */
- int p_size; /* Window size at allocation */
- int p_len; /* Window size after fill */
- /* p_size and p_len could be
- * consolodated by using a local
- * variable in map_ptr() */
+ int p_size; /* Largest window size we allocated */
+ int p_len; /* Latest (rounded) window size */
+ int def_window_size; /* Default window size */
int status; /* first errno from read errors */
OFF_T file_size; /* File size (from stat) */
OFF_T p_offset; /* Window start */
int status; /* first errno from read errors */
OFF_T file_size; /* File size (from stat) */
OFF_T p_offset; /* Window start */