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/08/01 11:46:01 UTC
svn commit: r427505 -
/httpd/httpd/branches/httpd-proxy-scoreboard/modules/mem/sharedmem_util.c
Author: jfclere
Date: Tue Aug 1 02:46:00 2006
New Revision: 427505
URL: http://svn.apache.org/viewvc?rev=427505&view=rev
Log:
create and attach cannot be used before the globalmem has been initialized.
Modified:
httpd/httpd/branches/httpd-proxy-scoreboard/modules/mem/sharedmem_util.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=427505&r1=427504&r2=427505&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 Tue Aug 1 02:46:00 2006
@@ -90,6 +90,8 @@
const char *fname;
apr_status_t rv;
+ if (globalpool == NULL)
+ return APR_ENOSHMAVAIL;
if (name) {
if (name[0] == ':')
fname = name;
@@ -173,6 +175,8 @@
const char *fname;
apr_status_t rv;
+ if (globalpool == NULL)
+ return APR_ENOSHMAVAIL;
if (name) {
if (name[0] == ':')
fname = name;