X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/e66d6d511b675d31a3c55b51fd28d5d2558d094a..ab5ffac0b5b90b65432ee6491f5c8cf94a3b0e18:/drop-cache.diff diff --git a/drop-cache.diff b/drop-cache.diff index 52b53c0..14fd1b0 100644 --- a/drop-cache.diff +++ b/drop-cache.diff @@ -80,7 +80,7 @@ diff --git a/checksum.c b/checksum.c diff --git a/cleanup.c b/cleanup.c --- a/cleanup.c +++ b/cleanup.c -@@ -47,7 +47,13 @@ void close_all(void) +@@ -46,7 +46,13 @@ void close_all(void) int fd; int ret; STRUCT_STAT st; @@ -204,7 +204,7 @@ diff --git a/rsync.yo b/rsync.yo -n, --dry-run perform a trial run with no changes made -W, --whole-file copy files whole (w/o delta-xfer algorithm) -x, --one-file-system don't cross filesystem boundaries -@@ -1043,6 +1044,10 @@ NOTE: Don't use this option when the destination is a Solaris "tmpfs" +@@ -1049,6 +1050,10 @@ NOTE: Don't use this option when the destination is a Solaris "tmpfs" filesystem. It doesn't seem to handle seeks over null regions correctly and ends up corrupting the files. @@ -251,7 +251,7 @@ diff --git a/util.c b/util.c extern int modify_window; extern int relative_paths; extern int human_readable; -@@ -41,6 +42,131 @@ char curr_dir[MAXPATHLEN]; +@@ -42,6 +43,131 @@ char curr_dir[MAXPATHLEN]; unsigned int curr_dir_len; int curr_dir_depth; /* This is only set for a sanitizing daemon. */