The Samba-Bugzilla – Attachment 702 Details for
Bug 1873
rsync doesn't obey .cvsignore (exclamation) ! semantics
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Re-enable "!"s in .cvsignore files
cvs-bang.patch (text/plain), 1.10 KB, created by
Wayne Davison
on 2004-10-05 17:08:07 UTC
(
hide
)
Description:
Re-enable "!"s in .cvsignore files
Filename:
MIME Type:
Creator:
Wayne Davison
Created:
2004-10-05 17:08:07 UTC
Size:
1.10 KB
patch
obsolete
>--- exclude.c 22 Sep 2004 04:11:15 -0000 1.85 >+++ exclude.c 6 Oct 2004 00:02:45 -0000 >@@ -235,8 +235,9 @@ int check_exclude(struct exclude_list_st > /* Get the next include/exclude arg from the string. The token will not > * be '\0' terminated, so use the returned length to limit the string. > * Also, be sure to add this length to the returned pointer before passing >- * it back to ask for the next token. This routine parses the +/- prefixes >- * and the "!" token unless xflags contains XFLG_WORDS_ONLY. The *flag_ptr >+ * it back to ask for the next token. This routine parses the "!" (list- >+ * clearing) token and (if xflags does NOT contain XFLG_WORDS_ONLY) the >+ * +/- prefixes for overriding the include/exclude mode. The *flag_ptr > * value will also be set to the MATCHFLG_* bits for the current token. > */ > static const char *get_exclude_tok(const char *p, unsigned int *len_ptr, >@@ -273,7 +274,7 @@ static const char *get_exclude_tok(const > } else > len = strlen(s); > >- if (*p == '!' && len == 1 && !(xflags & XFLG_WORDS_ONLY)) >+ if (*p == '!' && len == 1) > mflags |= MATCHFLG_CLEAR_LIST; > > *len_ptr = len;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1873
: 702