Added a def_window_size variable to struct map_struct.

This commit is contained in:
Wayne Davison
2004-07-20 21:08:33 +00:00
parent 98f51bfb56
commit 562b61695e

View File

@@ -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 */