From 562b61695ebbc7be90233acb4a589b08f77cff33 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 20 Jul 2004 21:08:33 +0000 Subject: [PATCH] Added a def_window_size variable to struct map_struct. --- rsync.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/rsync.h b/rsync.h index 07f447b1..b5308423 100644 --- a/rsync.h +++ b/rsync.h @@ -480,11 +480,9 @@ struct sum_struct { 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 */ -- 2.34.1