- added an internal io_error flag. Whenever an io error occurs (such

as not being able to open a directory) this flag is set and propogated
to the other end. When this flag is set the --delete code is
disabled. This prevents the problem that io or permission errors could
cause files to be incorrectly deleted on the destination.

- added a --timeout option. This allows you to set an IO timeout in
seconds. If no io occurs in that time then rsync exits with a timeout
error.

- changed some FERROR fds to FINFO
This commit is contained in:
Andrew Tridgell committed 1998-03-26 04:18:47 +00:00
1 parent 5fb543d587
commit 6ba9279fb2
7 files changed
+180 -93

No files matched your search

+2 -2
View File
@@ -39,9 +39,9 @@
#define SAME_TIME (1<<7)
/* update this if you make incompatible changes */
#define PROTOCOL_VERSION 16
#define PROTOCOL_VERSION 17
#define MIN_PROTOCOL_VERSION 11
#define MAX_PROTOCOL_VERSION 20
#define MAX_PROTOCOL_VERSION 30
#define SPARSE_WRITE_SIZE (4*1024)
#define WRITE_SIZE (32*1024)