X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/972a3619c4ea253671e2fe0897f99af897782e26..08f15335b5b469b29cbdacd0fc5ba48d76acf280:/rsync.h diff --git a/rsync.h b/rsync.h index 3e040d4f..9e7775c7 100644 --- a/rsync.h +++ b/rsync.h @@ -32,7 +32,7 @@ #define BACKUP_SUFFIX "~" /* a non-zero CHAR_OFFSET makes the rolling sum stronger, but is - imcompatible with older versions :-( */ + incompatible with older versions :-( */ #define CHAR_OFFSET 0 @@ -47,7 +47,7 @@ #define SAME_TIME (1<<7) /* update this if you make incompatible changes */ -#define PROTOCOL_VERSION 19 +#define PROTOCOL_VERSION 22 #define MIN_PROTOCOL_VERSION 11 #define MAX_PROTOCOL_VERSION 30 @@ -58,7 +58,6 @@ #define CHUNK_SIZE (32*1024) #define MAX_MAP_SIZE (256*1024) #define IO_BUFFER_SIZE (4092) -#define MAX_READ_BUFFER (1024*1024) #define MAX_ARGS 1000 @@ -285,6 +284,10 @@ #define MAXPATHLEN 1024 #endif +#ifndef PIPE_BUF +#define PIPE_BUF 512 +#endif + #ifndef INADDR_NONE #define INADDR_NONE 0xffffffff #endif