Displaying 1 result from an estimated 1 matches for "matchflg_cvs_ignore".
2005 Sep 16
1
Bug#314473: rsync still fails badly with an "!" in .cvsignore
...an
--- rsync-2.6.6.orig/exclude.c
+++ rsync-2.6.6/exclude.c
@@ -665,8 +665,10 @@
* for old include/exclude patterns where just "+ " and "- " are
* allowed as optional prefixes. */
if (mflags & MATCHFLG_NO_PREFIXES) {
- if (*s == '!' && mflags & MATCHFLG_CVS_IGNORE)
+ if (*s == '!' && mflags & MATCHFLG_CVS_IGNORE) {
new_mflags |= MATCHFLG_CLEAR_LIST; /* Tentative! */
+ s++;
+ }
} else if (xflags & XFLG_OLD_PREFIXES) {
if (*s == '-' && s[1] == ' ') {
new_mflags...