Hi.
Code looks like it intended to parse "%%" in pattern string as "%".
Fix it, so it really does that.
Compile and run tested.
Signed-off-by: Domen Puncer <[email protected]>
--- c/lib/parser.c 2004-11-07 11:31:05.000000000 +0100
+++ a/lib/parser.c 2004-11-07 11:31:23.000000000 +0100
@@ -47,6 +47,7 @@ static int match_one(char *s, char *p, s
else if (*p == '%') {
if (*s++ != '%')
return 0;
+ p++;
continue;
}