Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reinstated the MAX_READ_BUFFER code. Its a nasty tradeoff - using lots
[rsync/rsync.git]
/
rsync.h
diff --git
a/rsync.h
b/rsync.h
index
32d564c
..
53cd02a
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-47,7
+47,7
@@
#define SAME_TIME (1<<7)
/* update this if you make incompatible changes */
#define SAME_TIME (1<<7)
/* update this if you make incompatible changes */
-#define PROTOCOL_VERSION 2
0
+#define PROTOCOL_VERSION 2
2
#define MIN_PROTOCOL_VERSION 11
#define MAX_PROTOCOL_VERSION 30
#define MIN_PROTOCOL_VERSION 11
#define MAX_PROTOCOL_VERSION 30
@@
-58,7
+58,7
@@
#define CHUNK_SIZE (32*1024)
#define MAX_MAP_SIZE (256*1024)
#define IO_BUFFER_SIZE (4092)
#define CHUNK_SIZE (32*1024)
#define MAX_MAP_SIZE (256*1024)
#define IO_BUFFER_SIZE (4092)
-#define MAX_READ_BUFFER (1024*1024)
+#define MAX_READ_BUFFER (10
*10
24*1024)
#define MAX_ARGS 1000
#define MAX_ARGS 1000
@@
-285,6
+285,10
@@
#define MAXPATHLEN 1024
#endif
#define MAXPATHLEN 1024
#endif
+#ifndef PIPE_BUF
+#define PIPE_BUF 512
+#endif
+
#ifndef INADDR_NONE
#define INADDR_NONE 0xffffffff
#endif
#ifndef INADDR_NONE
#define INADDR_NONE 0xffffffff
#endif