Messages in this thread Patch in this message | | | Date | Sun, 7 Nov 2004 11:38:25 +0100 | From | Domen Puncer <> | Subject | [patch] lib/parser: fix %% parsing |
| |
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 <domen@coderock.org>
--- 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; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |