search for: init_stat_x

Displaying 3 results from an estimated 3 matches for "init_stat_x".

2015 Jan 16
3
wrong transfer of app packages using --backup
Dear All, I have been seeing some strange behavior using rsync 3.1.1 on OSX with the 3 standard patches applied when using the --backup and --backup-Dir options. This works as expected on 3.0.9, moving any files on dest that are not on source to the backup folder. If no changes then the backup folder is not even created. -aHAXN --fileflags --force-change --protect-decmpfs ?delete --backup
2015 Jan 23
0
rsync 3.1.1 wrong transfer of app packages using --backup
...sx.st, NULL) < 0) + return 1; for (f = fname, b = rel; *f && *f == *b; f++, b++) { if (*b == '/') @@ -215,17 +218,18 @@ stat_x sx; struct file_struct *file; int save_preserve_xattrs; - char *buf = get_backup_name(fname); - int ret = 0; - - if (!buf) - return 0; - - init_stat_x(&sx); + int ret = 0; + + init_stat_x(&sx); /* Return success if no file to keep. */ if (x_lstat(fname, &sx.st, NULL) < 0) return 1; - + + char *buf = get_backup_name(fname); + + if (!buf) + return 0; + /* Try a hard-link or a rename first. Using rename is n...
2011 Dec 16
1
[Bug 8665] New: Crash in free_xattr(), from recv_generator()
https://bugzilla.samba.org/show_bug.cgi?id=8665 Summary: Crash in free_xattr(), from recv_generator() Product: rsync Version: 3.1.0 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: chris at onthe.net.au