[SCM] The rsync repository. - branch master updated

Rsync CVS commit messages rsync-cvs at lists.samba.org
Wed Aug 24 02:39:30 UTC 2022


The branch, master has been updated
       via  1b664d30 Fix an unreleased bug handling a leading dot.
      from  ea38f34d Another spelling fix.

https://git.samba.org/?p=rsync.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 1b664d30e4966a1be4a19fd816847dc664ef3436
Author: Wayne Davison <wayne at opencoder.net>
Date:   Tue Aug 23 19:38:41 2022 -0700

    Fix an unreleased bug handling a leading dot.

-----------------------------------------------------------------------

Summary of changes:
 exclude.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/exclude.c b/exclude.c
index 777874aa..5458455b 100644
--- a/exclude.c
+++ b/exclude.c
@@ -454,8 +454,8 @@ void add_implied_include(const char *arg, int skip_daemon_module)
 						cp++;
 						slash_cnt--;
 						p--;
-						break;
-					}
+					} else
+						*p++ = *cp++;
 				} else
 					*p++ = *cp++;
 				break;
@@ -484,7 +484,7 @@ void add_implied_include(const char *arg, int skip_daemon_module)
 				implied_filter_list.head = rule;
 			}
 			if (DEBUG_GTE(FILTER, 3))
-				rprintf(FINFO, "[%s] add_IMPlied_include(%s)\n", who_am_i(), arg);
+				rprintf(FINFO, "[%s] add_implied_include(%s)\n", who_am_i(), arg);
 			if (saw_live_open_brkt)
 				maybe_add_literal_brackets_rule(rule, arg_len);
 			if (relative_paths && slash_cnt) {


-- 
The rsync repository.



More information about the rsync-cvs mailing list