search for: item_report_time

Displaying 5 results from an estimated 5 matches for "item_report_time".

2005 Jul 26
1
itemize() needs to use CHMOD_BITS (patch)
...info from me. Thanks. --- generator.c.~1~ Thu Jun 30 13:03:14 2005 +++ generator.c Tue Jul 26 12:51:11 2005 @@ -327,7 +327,8 @@ && (!(iflags & ITEM_XNAME_FOLLOWS) || *xname)) || (keep_time && cmp_modtime(file->modtime, st->st_mtime) != 0)) iflags |= ITEM_REPORT_TIME; - if (preserve_perms && file->mode != st->st_mode) + if (preserve_perms && (st->st_mode & CHMOD_BITS) + != (file->mode & CHMOD_BITS)) iflags |= ITEM_REPORT_PERMS; if (preserve_uid && am_root && file->uid != st->st_uid)...
2008 Mar 10
2
Rsync itemizing "t" (should be "T") when lutimes fails on recreated symlink
...sleep 1 ln -s tb b rsync-dev -i -lt a b stat --format='%Y %n' a b Output: # Rsync claims to have preserved the time... cL..t...... a -> ta # ... but it differs 1205122328 a 1205122329 b The problem is that, for a recreated symlink (as opposed to a tweaked one), the generator itemizes ITEM_REPORT_TIME whether it succeeded or failed in setting the time. On a push, the sender is doing the logging and can't check the generator's FLAG_TIME_FAILED, so there is no way for it to tell these two cases apart; they have to look different in the itemize flags. Matt -------------- next part -------...
2008 Mar 19
0
[PATCH] Unsnarl missing_below/dry_run logic.
...{ + if (statret != 0 && fuzzy_dirlist) { int j = find_fuzzy(file, fuzzy_dirlist); if (j >= 0) { fuzzy_file = fuzzy_dirlist->files[j]; @@ -2125,6 +2127,7 @@ void generate_files(int f_out, const char *local_name) lull_mod = allowed_lull * 5; symlink_timeset_failed_flags = ITEM_REPORT_TIME | (protocol_version >= 30 || !am_server ? ITEM_REPORT_TIMEFAIL : 0); + implied_dirs_are_missing = relative_paths && !implied_dirs && protocol_version < 30; if (verbose > 2) rprintf(FINFO, "generator starting pid=%ld\n", (long)getpid()); diff --git a/t...
2006 Jun 02
3
[PATCH] --omit-dir-changes, qsort<>mergesort issues
...-0000 1.282 +++ generator.c 2 Jun 2006 13:00:01 -0000 @@ -45,6 +45,7 @@ extern int preserve_gid; extern int preserve_times; extern int omit_dir_times; +extern int omit_dir_changes; extern int delete_mode; extern int delete_before; extern int delete_during; @@ -348,10 +349,11 @@ iflags |= ITEM_REPORT_TIME; if ((file->mode & CHMOD_BITS) != (st->st_mode & CHMOD_BITS)) iflags |= ITEM_REPORT_PERMS; - if (preserve_uid && am_root && file->uid != st->st_uid) + if (preserve_uid && am_root && file->uid != st->st_uid + && !(S_ISDI...
2007 Sep 22
0
rsync build on IA64 using icc
...810: conversion from "int" to "char" may lose significant bits n[3] = !(iflags & ITEM_REPORT_SIZE) ? '.' : 's'; ^ log.c(604): remark #810: conversion from "int" to "char" may lose significant bits n[4] = !(iflags & ITEM_REPORT_TIME) ? '.' ^ log.c(606): remark #810: conversion from "int" to "char" may lose significant bits n[5] = !(iflags & ITEM_REPORT_PERMS) ? '.' : 'p'; ^ log.c(607): remark #810: conversion from "int" to "char" may...