]> granicus.if.org Git - apache/commitdiff
Changes for deprecated apr_is_fnmatch
authorWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 8 Jul 2002 17:43:34 +0000 (17:43 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 8 Jul 2002 17:43:34 +0000 (17:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95976 13f79535-47bb-0310-9956-ffa450edef68

modules/generators/mod_autoindex.c
modules/proxy/mod_proxy.c
modules/ssl/ssl_engine_init.c
server/core.c

index aa5e143b29610fb565c1eb302fd5e97e7d4ee2e2..ce6f294301fcb0a1b84ca79376729d9f0b841384 100644 (file)
@@ -307,7 +307,7 @@ static const char *add_desc(cmd_parms *cmd, void *d, const char *desc,
     desc_entry->full_path = (ap_strchr_c(to, '/') == NULL) ? 0 : 1;
     desc_entry->wildcards = (WILDCARDS_REQUIRED
                              || desc_entry->full_path
-                             || apr_is_fnmatch(to));
+                             || apr_fnmatch_test(to));
     if (desc_entry->wildcards) {
         prefix = desc_entry->full_path ? "*/" : "*";
         desc_entry->pattern = apr_pstrcat(dcfg->desc_list->pool,
index dfd7391bdfb3736ea281564459e0a76f5c5bab9e..27e6ca58d2b9b2380f5357af66222157eb23b536 100644 (file)
@@ -986,7 +986,7 @@ static const char *proxysection(cmd_parms *cmd, void *mconfig, const char *arg)
 
     conf->r = r;
     conf->p = cmd->path;
-    conf->p_is_fnmatch = apr_is_fnmatch(conf->p);
+    conf->p_is_fnmatch = apr_fnmatch_test(conf->p);
 
     ap_add_per_proxy_conf(cmd->server, new_dir_conf);
 
index 2203210db7ee30b4d269e7ddc3dc5b3a761153cb..bf63baf4c1ad510d529ab2c3605757de79cccefb 100644 (file)
@@ -857,7 +857,7 @@ static void ssl_check_public_cert(server_rec *s,
     if (SSL_X509_getCN(ptemp, cert, &cn)) {
         int fnm_flags = FNM_PERIOD|FNM_CASE_BLIND;
 
-        if (apr_is_fnmatch(cn) &&
+        if (apr_fnmatch_test(cn) &&
             (apr_fnmatch(cn, s->server_hostname,
                          fnm_flags) == FNM_NOMATCH))
         {
index d9acc24bea5cabda96cc5000c1a9a0bacffd9bad..bff8cb4ad2fef4f6d11143cf1453543f231faa73 100644 (file)
@@ -1628,7 +1628,7 @@ static const char *dirsection(cmd_parms *cmd, void *mconfig, const char *arg)
 
     conf->r = r;
     conf->d = cmd->path;
-    conf->d_is_fnmatch = (apr_is_fnmatch(conf->d) != 0);
+    conf->d_is_fnmatch = (apr_fnmatch_test(conf->d) != 0);
 
     /* Make this explicit - the "/" root has 0 elements, that is, we
      * will always merge it, and it will always sort and merge first.
@@ -1694,7 +1694,7 @@ static const char *urlsection(cmd_parms *cmd, void *mconfig, const char *arg)
         return errmsg;
 
     conf->d = apr_pstrdup(cmd->pool, cmd->path);     /* No mangling, please */
-    conf->d_is_fnmatch = apr_is_fnmatch(conf->d) != 0;
+    conf->d_is_fnmatch = apr_fnmatch_test(conf->d) != 0;
     conf->r = r;
 
     ap_add_per_url_conf(cmd->server, new_url_conf);
@@ -1766,7 +1766,7 @@ static const char *filesection(cmd_parms *cmd, void *mconfig, const char *arg)
         return errmsg;
 
     conf->d = cmd->path;
-    conf->d_is_fnmatch = apr_is_fnmatch(conf->d) != 0;
+    conf->d_is_fnmatch = apr_fnmatch_test(conf->d) != 0;
     conf->r = r;
 
     ap_add_file_conf(c, new_file_conf);