From: Jeff Trawick Date: Sun, 17 Feb 2002 02:44:14 +0000 (+0000) Subject: expand_lock_fname() is no longer used X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61c6a1ffb32141e557b1eee3f28694faa3f6b734;p=thirdparty%2Fapache%2Fhttpd.git expand_lock_fname() is no longer used git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93450 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index d456ec31fb3..352ffaf376b 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -235,13 +235,6 @@ static void clean_child_exit(int code) exit(code); } -static void expand_lock_fname(apr_pool_t *p) -{ - /* XXXX possibly bogus cast */ - ap_lock_fname = apr_psprintf(p, "%s.%lu", - ap_server_root_relative(p, ap_lock_fname), (unsigned long)getpid()); -} - static void accept_mutex_on(void) { apr_status_t rv = apr_proc_mutex_lock(accept_mutex);