[SCM] The rsync repository. - branch master updated
Rsync CVS commit messages
rsync-cvs at lists.samba.org
Sat Jun 4 19:08:53 UTC 2016
The branch, master has been updated
via 359758d Fix path check when prior_dir_file is NULL.
from 1f83b51 Improve the top-level section on include/exclude traversal. This is my edit of some suggestions by Karl O. Pinc.
https://git.samba.org/?p=rsync.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 359758d61134e3e5d99ca3cca442fb05ed96069d
Author: Wayne Davison <wayned at samba.org>
Date: Sat Jun 4 11:53:33 2016 -0700
Fix path check when prior_dir_file is NULL.
-----------------------------------------------------------------------
Summary of changes:
generator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Changeset truncated at 500 lines:
diff --git a/generator.c b/generator.c
index fd7c8f8..fe5fece 100644
--- a/generator.c
+++ b/generator.c
@@ -1266,7 +1266,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
* this function was asked to process in the file list. */
if (!inc_recurse
&& (*dn != '.' || dn[1]) /* Avoid an issue with --relative and the "." dir. */
- && (prior_dir_file && strcmp(dn, f_name(prior_dir_file, NULL)) != 0)
+ && (!prior_dir_file || strcmp(dn, f_name(prior_dir_file, NULL)) != 0)
&& flist_find_name(cur_flist, dn, 1) < 0) {
rprintf(FERROR,
"ABORTING due to invalid path from sender: %s/%s\n",
--
The rsync repository.
More information about the rsync-cvs
mailing list