diff options
Diffstat (limited to 'www/apache/patches/patch-ap')
-rw-r--r-- | www/apache/patches/patch-ap | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/www/apache/patches/patch-ap b/www/apache/patches/patch-ap deleted file mode 100644 index be04f7f0721..00000000000 --- a/www/apache/patches/patch-ap +++ /dev/null @@ -1,26 +0,0 @@ -$NetBSD: patch-ap,v 1.1 2003/10/29 10:44:28 cube Exp $ - ---- src/modules/standard/mod_alias.c.orig 2003-04-24 18:08:21.000000000 +0200 -+++ src/modules/standard/mod_alias.c -@@ -299,7 +299,7 @@ static int alias_matches(const char *uri - static char *try_alias_list(request_rec *r, array_header *aliases, int doesc, int *status) - { - alias_entry *entries = (alias_entry *) aliases->elts; -- regmatch_t regm[10]; -+ regmatch_t regm[AP_MAX_REG_MATCH]; - char *found = NULL; - int i; - -@@ -308,10 +308,10 @@ static char *try_alias_list(request_rec - int l; - - if (p->regexp) { -- if (!ap_regexec(p->regexp, r->uri, p->regexp->re_nsub + 1, regm, 0)) { -+ if (!ap_regexec(p->regexp, r->uri, AP_MAX_REG_MATCH, regm, 0)) { - if (p->real) { - found = ap_pregsub(r->pool, p->real, r->uri, -- p->regexp->re_nsub + 1, regm); -+ AP_MAX_REG_MATCH, regm); - if (found && doesc) { - found = ap_escape_uri(r->pool, found); - } |