Displaying 2 results from an estimated 2 matches for "f_depth".
2008 Mar 19
0
[PATCH] Unsnarl missing_below/dry_run logic.
...conflated using a single set of
missing_below/missing_dir variables in combination with transient increments in
dry_run; this caused at least three bugs.
Now recv_generator has separate variables for the two scenarios, called skip_dir
and dry_missing_dir, respectively. For simplicity, we take the F_DEPTH instead
of having separate *_below variables. We mark both kinds of missing dirs with
FLAG_MISSING_DIR. (dry_run > 1) iff the *root* of the destination does not
exist; it is no longer incremented for missing subdirs. I added tests for the
three fixed bugs in missing.test.
---
generator.c...
2011 Jul 17
11
[Bug 8308] New: rsync: exclude.c:532: change_local_filter_dir: Assertion `dir_depth < 4096/2+1' failed
...xfffd8ed0,
f_out_p=0xfffd8ecc) at main.c:469
#8 0x08065f4b in main (argc=Cannot access memory at address 0x0
) at main.c:1275
(gdb) p dir_depth
$5 = 3695
(gdb) up
#1 0x080544c3 in do_delete_pass () at generator.c:548
548 change_local_filter_dir(fbuf, strlen(fbuf),
F_DEPTH(file));
(gdb) info local
file = (struct file_struct *) 0xf73f738c
fbuf = "rsync.include.drive_b\000b"
st = {st_dev = 65024, __pad1 = 0, __st_ino = 323281, st_mode = 16877,
st_nlink = 3, st_uid = 0, st_gid = 0, st_rdev = 0, __pad2 = 0,
st_size = 4096, st_blksize = 4096, st_blocks = 8...