From: Andrew Tridgell Date: Wed, 27 May 1998 13:47:34 +0000 (+0000) Subject: reduce IO_BUFFER_SIZE by 4 bytes so when then length word gets added X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/e3fe383aaa360a0226f81ae67467addfe2bf29d5 reduce IO_BUFFER_SIZE by 4 bytes so when then length word gets added it is a power of 2. --- diff --git a/rsync.h b/rsync.h index 6a2e5834..2964dc10 100644 --- a/rsync.h +++ b/rsync.h @@ -51,7 +51,7 @@ #define WRITE_SIZE (32*1024) #define CHUNK_SIZE (32*1024) #define MAX_MAP_SIZE (1*1024*1024) -#define IO_BUFFER_SIZE (4096) +#define IO_BUFFER_SIZE (4092) #define MAX_READ_BUFFER (1024*1024) #define MAX_ARGS 1000