diff options
| author | Wayne Davison <wayned@samba.org> | 2005-09-16 16:10:01 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2005-09-16 16:10:01 +0000 |
| commit | 35a388b1415df7aeaa8ba1a06a87ab9256986bc8 (patch) | |
| tree | 60d3bbe859eadbf6ced3a6cf4d5fb232cd0c4914 /exclude.c | |
| parent | 9a4a237edef9bd21139e4400838b8a99cabd2a98 (diff) | |
| download | android_external_rsync-35a388b1415df7aeaa8ba1a06a87ab9256986bc8.tar.gz android_external_rsync-35a388b1415df7aeaa8ba1a06a87ab9256986bc8.tar.bz2 android_external_rsync-35a388b1415df7aeaa8ba1a06a87ab9256986bc8.zip | |
Really fix '!' in a .cvsignore file this time.
Diffstat (limited to 'exclude.c')
| -rw-r--r-- | exclude.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -827,7 +827,8 @@ static const char *parse_rule_tok(const char *p, uint32 mflags, int xflags, len = strlen((char*)s); if (new_mflags & MATCHFLG_CLEAR_LIST) { - if (!(xflags & XFLG_OLD_PREFIXES) && len) { + if (!(mflags & MATCHFLG_NO_PREFIXES) + && !(xflags & XFLG_OLD_PREFIXES) && len) { rprintf(FERROR, "'!' rule has trailing characters: %s\n", p); exit_cleanup(RERR_SYNTAX); |
