X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/e66d6d511b675d31a3c55b51fd28d5d2558d094a..9127013998bd097f699897b0f2b142fe2ba71e9d:/drop-cache.diff diff --git a/drop-cache.diff b/drop-cache.diff index 52b53c0..c222427 100644 --- a/drop-cache.diff +++ b/drop-cache.diff @@ -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. */