Heh. Too many different versions of this now, so faulty version was
sent. Stripping delimiters at the end of the pattern was broken.
The following needs to be applied on top:
diff --git a/src/acl.c b/src/acl.c
index cb49b43..1e8468e 100644 --- a/src/acl.c +++ b/src/acl.c @@ -591,7 +591,7 @@ static int match_word(struct acl_test *test, struct acl_pattern *pattern, delimi ps++; } - while (pl > 0 && IS_DELIMITER(*ps)) + while (pl > 0 && IS_DELIMITER(ps[pl - 1])) pl--; if (pl > test->len)
This archive was generated by hypermail 2.2.0 : 2011/09/08 19:30 CEST