search for: real_sx

Displaying 7 results from an estimated 7 matches for "real_sx".

Did you mean: real_rx
2011 Dec 16
1
[Bug 8665] New: Crash in free_xattr(), from recv_generator()
...oking through the code there's an obvious issue. In generator.c recv_generator(), with just a few lines removed for clarity, we have: recv_generator() { ... 1373: itemize(fnamecmp, file, ndx, statret, &sx, statret ? ITEM_LOCAL_CHANGE : 0, 0, NULL); ... 1657: real_sx = sx; ... 1837: free_xattr(&real_sx); ... 1892: free_xattr(&sx); ... } With xattrs in play, the itemize() ends up mallocing bits of memory and attaching it to sx.xattr. The "real_sx = sx" does a copy of the top level structure, including the pointer t...
2006 Oct 21
1
Rsync 2.6.9pre2 tries to read ACLs of nonexistent files
...s ACL before it actually created the file. I think I have tracked down the problem. In lines 1392-1393, the generator reads the old ACL of a destination file about to be overwritten so it knows whether to itemize an ACL change: if (preserve_acls && real_ret == 0) get_acl(fname, &real_sx); Presumably real_ret is zero if and only if the destination file 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_dest...
2008 Mar 19
0
[PATCH] Unsnarl missing_below/dry_run logic.
...= -1; } - if (dry_run && statret != 0 && missing_below < 0) { - missing_below = F_DEPTH(file); - missing_dir = file; - dry_run++; + if (dry_run && statret != 0) { + dry_missing_dir = file; + file->flags |= FLAG_MISSING_DIR; } real_ret = statret; real_sx = sx; @@ -1440,8 +1443,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx, skipping_dir_contents: rprintf(FERROR, "*** Skipping any contents from this failed directory ***\n"); - missing_below = F_DEPTH(file); - missing_dir = file; +...
2018 Jan 15
0
Rsync 3.1.3pre1 released
...if (sxp->st.st_rdev != MAKEDEV(DEV_MAJOR(devp), DEV_MINOR(devp))) ^ "/home/git/rsync/generator.c", line 1049: error(114): identifier "makedev" is undefined DEV_MAJOR(devp) = major(real_sx.st.st_dev); ^ "/home/git/rsync/generator.c", line 1476: error(114): identifier "major" is undefined DEV_MINOR(devp) = minor(real_sx.st.st_dev); ^ &...
2018 Jan 15
1
[Bug 13224] New: New file handling causes compile issues for NonStop port.
...if (sxp->st.st_rdev != MAKEDEV(DEV_MAJOR(devp), DEV_MINOR(devp))) ^ "/home/git/rsync/generator.c", line 1049: error(114): identifier "makedev" is undefined DEV_MAJOR(devp) = major(real_sx.st.st_dev); ^ "/home/git/rsync/generator.c", line 1476: error(114): identifier "major" is undefined DEV_MINOR(devp) = minor(real_sx.st.st_dev); ^ &...
2018 Jan 15
4
Rsync 3.1.3pre1 released
I have made rsync 3.1.3pre1 available for testing. This release has a couple security fixes, a few new features, and a smattering of bug fixes. Please test this new release and send email to the rsync mailing list with any questions, comments, or bug reports. To see a summary of the changes since 3.1.2, visit this link: http://rsync.samba.org/ftp/rsync/src-previews/rsync-3.1.3pre1-NEWS You
2018 Jan 15
4
Rsync 3.1.3pre1 released
I have made rsync 3.1.3pre1 available for testing. This release has a couple security fixes, a few new features, and a smattering of bug fixes. Please test this new release and send email to the rsync mailing list with any questions, comments, or bug reports. To see a summary of the changes since 3.1.2, visit this link: http://rsync.samba.org/ftp/rsync/src-previews/rsync-3.1.3pre1-NEWS You