]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Rollback r426781.
authorJean-Frederic Clere <jfclere@apache.org>
Sat, 29 Jul 2006 21:20:52 +0000 (21:20 +0000)
committerJean-Frederic Clere <jfclere@apache.org>
Sat, 29 Jul 2006 21:20:52 +0000 (21:20 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpd-proxy-scoreboard@426841 13f79535-47bb-0310-9956-ffa450edef68

modules/mem/sharedmem_util.c
support/proxymonitor.c

index d5a76dc7e99a2400c225afd95e707fd48f69edb8..2cf12817c8bbbef49a3410f39c729cb129ea67d9 100644 (file)
@@ -88,18 +88,9 @@ static apr_status_t ap_slotmem_create(ap_slotmem_t **new, const char *name, apr_
     ap_slotmem_t *res;
     ap_slotmem_t *next = globallistmem;
     char *fname;
-    char *dir, *sep;
-    char *dname;
     apr_status_t rv;
 
     fname = ap_server_root_relative(pool, name);
-    dir = apr_pstrdup(pool, name);
-    sep = strrchr(dir, '/');
-    if (sep != NULL) {
-        *sep++ = '\0'; 
-        dname = ap_server_root_relative(pool, dir);
-        apr_dir_make(dname, APR_UREAD|APR_UWRITE|APR_UEXECUTE, pool);
-    }
 
     /* first try to attach to existing slotmem */
     if (next) {
index 5c26c51470d667df4e3626955dc0b962b052b9a0..ad31c2d9249f175c63c0d9ddc529c2185da1a19f 100644 (file)
@@ -101,10 +101,6 @@ char * ap_server_root_relative(apr_pool_t *p, const char *name)
     }
     return fname;
 }
-char * ap_strrchr(char *s, int c)
-{
-        return strrchr(s,c);
-}
 
 /*
  * called on SIGINT or SIGTERM