Parent Directory
|
Revision Log
|
Patch
--- httpd/httpd/trunk/modules/mappers/mod_alias.c 2005/02/04 20:28:49 151408
+++ httpd/httpd/trunk/modules/mappers/mod_alias.c 2005/02/11 12:00:41 153384
@@ -40,7 +40,7 @@
const char *real;
const char *fake;
char *handler;
- regex_t *regexp;
+ ap_regex_t *regexp;
int redir_status; /* 301, 302, 303, 410, etc */
} alias_entry;
@@ -112,7 +112,7 @@
/* XX r can NOT be relative to DocumentRoot here... compat bug. */
if (use_regex) {
- new->regexp = ap_pregcomp(cmd->pool, f, REG_EXTENDED);
+ new->regexp = ap_pregcomp(cmd->pool, f, AP_REG_EXTENDED);
if (new->regexp == NULL)
return "Regular expression could not be compiled.";
new->real = r;
@@ -176,7 +176,7 @@
alias_server_conf *serverconf = ap_get_module_config(s->module_config,
&alias_module);
int status = (int) (long) cmd->info;
- regex_t *r = NULL;
+ ap_regex_t *r = NULL;
const char *f = arg2;
const char *url = arg3;
@@ -196,7 +196,7 @@
}
if (use_regex) {
- r = ap_pregcomp(cmd->pool, f, REG_EXTENDED);
+ r = ap_pregcomp(cmd->pool, f, AP_REG_EXTENDED);
if (r == NULL)
return "Regular expression could not be compiled.";
}
@@ -314,7 +314,7 @@
int doesc, int *status)
{
alias_entry *entries = (alias_entry *) aliases->elts;
- regmatch_t regm[AP_MAX_REG_MATCH];
+ ap_regmatch_t regm[AP_MAX_REG_MATCH];
char *found = NULL;
int i;
| apache@apache.org | ViewVC Help |
| Powered by ViewVC 1.1.2 |