Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c8162a
)
Make sure that no character class can match a '/'.
author
Wayne Davison
<wayned@samba.org>
Mon, 14 Jul 2003 15:12:59 +0000
(15:12 +0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 14 Jul 2003 15:12:59 +0000
(15:12 +0000)
lib/wildmatch.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/wildmatch.c
b/lib/wildmatch.c
index
e2dca20
..
8de33c3
100644
(file)
--- a/
lib/wildmatch.c
+++ b/
lib/wildmatch.c
@@
-210,7
+210,7
@@
static int domatch(const unsigned char *p, const unsigned char *text)
else if (*text == ch)
matched = TRUE;
} while (prev = ch, (ch = *++p) != ']');
- if (matched == special)
+ if (matched == special
|| *text == '/'
)
return FALSE;
continue;
}