You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jf...@apache.org on 2006/07/29 23:20:53 UTC

svn commit: r426841 - in /httpd/httpd/branches/httpd-proxy-scoreboard: modules/mem/sharedmem_util.c support/proxymonitor.c

Author: jfclere
Date: Sat Jul 29 14:20:52 2006
New Revision: 426841

URL: http://svn.apache.org/viewvc?rev=426841&view=rev
Log:
Rollback r426781.

Modified:
    httpd/httpd/branches/httpd-proxy-scoreboard/modules/mem/sharedmem_util.c
    httpd/httpd/branches/httpd-proxy-scoreboard/support/proxymonitor.c

Modified: httpd/httpd/branches/httpd-proxy-scoreboard/modules/mem/sharedmem_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/httpd-proxy-scoreboard/modules/mem/sharedmem_util.c?rev=426841&r1=426840&r2=426841&view=diff
==============================================================================
--- httpd/httpd/branches/httpd-proxy-scoreboard/modules/mem/sharedmem_util.c (original)
+++ httpd/httpd/branches/httpd-proxy-scoreboard/modules/mem/sharedmem_util.c Sat Jul 29 14:20:52 2006
@@ -88,18 +88,9 @@
     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) {

Modified: httpd/httpd/branches/httpd-proxy-scoreboard/support/proxymonitor.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/httpd-proxy-scoreboard/support/proxymonitor.c?rev=426841&r1=426840&r2=426841&view=diff
==============================================================================
--- httpd/httpd/branches/httpd-proxy-scoreboard/support/proxymonitor.c (original)
+++ httpd/httpd/branches/httpd-proxy-scoreboard/support/proxymonitor.c Sat Jul 29 14:20:52 2006
@@ -101,10 +101,6 @@
     }
     return fname;
 }
-char * ap_strrchr(char *s, int c)
-{
-        return strrchr(s,c);
-}
 
 /*
  * called on SIGINT or SIGTERM