From 7a1f46b6ac5a33f1093727aa462b334de783df25 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sat, 5 Jul 2003 07:22:13 +0000 Subject: [PATCH] A couple comment tweaks. --- lib/wildmatch.c | 6 +++--- 1 file 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 . ** -** 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; -- 2.34.1