Displaying 4 results from an estimated 4 matches for "maybe_attrs_report".
2008 May 08
1
Patch to not modify files in place unless "--inplace" option specified
...name)) {
if (verbose) {
@@ -1528,7 +1529,15 @@
else if ((len = readlink(fname, lnk, MAXPATHLEN-1)) > 0
&& strncmp(lnk, sl, len) == 0 && sl[len] == '\0') {
/* The link is pointing to the right place. */
- set_file_attrs(fname, file, &sx, NULL, maybe_ATTRS_REPORT);
+ if (inplace) {
+ if (verbose > 2)
+ rprintf(FINFO, "possibly tweaking attributes of %s\n", fname);
+ set_file_attrs(fname, file, &sx, NULL, maybe_ATTRS_REPORT);
+ } else if (!unchanged_attrs(fname, file, &sx)) {
+ if (verbose > 2)
+ rprintf(FI...
2007 May 21
0
Infinite loop on files > 2Gb
...02ae3 in sum_sizes_sqroot (sum=0x8bf530, len=-2073107852) at generator.c:455
#1 0x00402c56 in generate_and_send_sums (fd=5, len=-2073107852, f_out=4, f_copy=-1) at generator.c:490
#2 0x00405035 in recv_generator (fname=0x8bfc40 "gf_profile_file.MYD", file=0x1788f8, ndx=517, itemizing=1, maybe_ATTRS_REPORT=1,
code=FLOG, f_out=4) at generator.c:1338
#3 0x00405400 in generate_files (f_out=4, flist=0x144ac0, local_name=0x0) at generator.c:1420
#4 0x0040f32c in do_recv (f_in=5, f_out=4, flist=0x144ac0, local_name=0x0) at main.c:764
#5 0x0040fa5e in client_run (f_in=5, f_out=4, pid=1713, argc=1, argv=...
2007 May 27
1
DO NOT REPLY [Bug 4664] New: Infinite loop on files > 2Gb
...02ae3 in sum_sizes_sqroot (sum=0x8bf530, len=-2073107852) at
generator.c:455
#1 0x00402c56 in generate_and_send_sums (fd=5, len=-2073107852, f_out=4,
f_copy=-1) at generator.c:490
#2 0x00405035 in recv_generator (fname=0x8bfc40 "gf_profile_file.MYD",
file=0x1788f8, ndx=517, itemizing=1, maybe_ATTRS_REPORT=1,
code=FLOG, f_out=4) at generator.c:1338
#3 0x00405400 in generate_files (f_out=4, flist=0x144ac0, local_name=0x0) at
generator.c:1420
#4 0x0040f32c in do_recv (f_in=5, f_out=4, flist=0x144ac0, local_name=0x0) at
main.c:764
#5 0x0040fa5e in client_run (f_in=5, f_out=4, pid=1713, argc=1, argv=...
2006 Oct 21
1
Rsync 2.6.9pre2 tries to read ACLs of nonexistent files
...actually exists. However, back in lines 1210-1226, the generator sets
real_ret to 0 if a basis file is found, even though the destination
file does not exist:
if (statret != 0 && basis_dir[0] != NULL) {
int j = try_dests_reg(file, fname, ndx, fnamecmpbuf, &sx,
itemizing, maybe_ATTRS_REPORT, code);
if (j == -2) {
if (remove_source_files == 1)
goto return_with_success;
goto cleanup;
}
if (j >= 0) {
fnamecmp = fnamecmpbuf;
fnamecmp_type = j;
statret = 0;
}
}
real_ret = statret;
real_sx = sx;
A few lines later, rsync checks for a fuzzy basis file; if it...