diff options
author | Wayne Davison <wayned@samba.org> | 2003-07-05 07:22:13 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2003-07-05 07:22:13 +0000 |
commit | 7a1f46b6ac5a33f1093727aa462b334de783df25 (patch) | |
tree | 255432a46ba24f3bfa2e8306bca393a7a11b9b8b /lib | |
parent | 7ca9250db01827ed80eabee1103212e2718a624a (diff) | |
download | rsync-7a1f46b6ac5a33f1093727aa462b334de783df25.tar.gz rsync-7a1f46b6ac5a33f1093727aa462b334de783df25.tar.bz2 rsync-7a1f46b6ac5a33f1093727aa462b334de783df25.zip |
A couple comment tweaks.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/wildmatch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/wildmatch.c b/lib/wildmatch.c index bce9545e..06eb4d79 100644 --- a/lib/wildmatch.c +++ b/lib/wildmatch.c @@ -5,8 +5,8 @@ ** Written by Rich $alz, mirror!rs, Wed Nov 26 19:03:17 EST 1986. ** Rich $alz is now <rsalz@bbn.com>. ** -** Modified by Wayne Davison to special-case '/' matching and to fix -** the character-class code. +** Modified by Wayne Davison to special-case '/' matching, to make '**' +** work differently than '*', and to fix the character-class code. */ #include "rsync.h" @@ -81,7 +81,7 @@ wildmatch(const char *p, const char *text) if (ch == '-' && prev && p[1] && p[1] != ']') { if (*text <= *++p && *text >= prev) matched = true; - ch = 0; + ch = 0; /* This makes "prev" get set to 0. */ } else if (*text == ch) matched = true; |