diff options
author | Wayne Davison <wayne@opencoder.net> | 2022-08-23 19:38:41 -0700 |
---|---|---|
committer | Wayne Davison <wayne@opencoder.net> | 2022-08-23 19:38:41 -0700 |
commit | 1b664d30e4966a1be4a19fd816847dc664ef3436 (patch) | |
tree | d8b70d06a18183be52153147732d024b90a8d9a6 | |
parent | ea38f34d02956b8586230d5c7f51f2d4740b6eab (diff) | |
download | rsync-1b664d30e4966a1be4a19fd816847dc664ef3436.tar.gz |
Fix an unreleased bug handling a leading dot.
-rw-r--r-- | exclude.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) { |