X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/ab5ffac0b5b90b65432ee6491f5c8cf94a3b0e18..e2e42a01ba5a2258edf1510280bb83864a0c8748:/fileflags.diff diff --git a/fileflags.diff b/fileflags.diff index 6cff063..93f7047 100644 --- a/fileflags.diff +++ b/fileflags.diff @@ -303,9 +303,9 @@ diff --git a/generator.c b/generator.c + if (force_change && F_FFLAGS(file) & force_change) + undo_make_mutable(fname, F_FFLAGS(file)); +#endif - if (allowed_lull && !(counter % lull_mod)) - maybe_send_keepalive(); - else if (!(counter & 0xFF)) + if (counter >= loopchk_limit) { + if (allowed_lull) + maybe_send_keepalive(); diff --git a/log.c b/log.c --- a/log.c +++ b/log.c @@ -416,7 +416,7 @@ diff --git a/options.c b/options.c {"ignore-errors", 0, POPT_ARG_VAL, &ignore_errors, 1, 0, 0 }, {"no-ignore-errors", 0, POPT_ARG_VAL, &ignore_errors, 0, 0, 0 }, {"max-delete", 0, POPT_ARG_INT, &max_delete, 0, 0, 0 }, -@@ -1852,6 +1878,9 @@ void server_options(char **args, int *argc_p) +@@ -1858,6 +1884,9 @@ void server_options(char **args, int *argc_p) if (xfer_dirs && !recurse && delete_mode && am_sender) args[ac++] = "--no-r"; @@ -426,7 +426,7 @@ diff --git a/options.c b/options.c if (do_compression && def_compress_level != Z_DEFAULT_COMPRESSION) { if (asprintf(&arg, "--compress-level=%d", def_compress_level) < 0) goto oom; -@@ -1939,6 +1968,16 @@ void server_options(char **args, int *argc_p) +@@ -1945,6 +1974,16 @@ void server_options(char **args, int *argc_p) args[ac++] = "--delete-excluded"; if (force_delete) args[ac++] = "--force"; @@ -1060,7 +1060,7 @@ diff --git a/xattrs.c b/xattrs.c if (rsync_xal_get(fname, sxp->xattr) < 0) { free_xattr(sxp); return -1; -@@ -861,6 +865,11 @@ int set_xattr(const char *fname, const struct file_struct *file, +@@ -864,6 +868,11 @@ int set_xattr(const char *fname, const struct file_struct *file, return -1; } @@ -1072,7 +1072,7 @@ diff --git a/xattrs.c b/xattrs.c ndx = F_XATTR(file); return rsync_xal_set(fname, lst + ndx, fnamecmp, sxp); } -@@ -977,7 +986,7 @@ int set_stat_xattr(const char *fname, struct file_struct *file, mode_t new_mode) +@@ -980,7 +989,7 @@ int set_stat_xattr(const char *fname, struct file_struct *file, mode_t new_mode) mode = (fst.st_mode & _S_IFMT) | (fmode & ACCESSPERMS) | (S_ISDIR(fst.st_mode) ? 0700 : 0600); if (fst.st_mode != mode)