httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chr...@apache.org
Subject svn commit: r648499 - in /httpd/httpd/trunk/modules/cache: mod_socache_dbm.c mod_socache_dc.c mod_socache_memcache.c mod_socache_shmcb.c
Date Wed, 16 Apr 2008 04:03:01 GMT
Author: chrisd
Date: Tue Apr 15 21:02:57 2008
New Revision: 648499

URL: http://svn.apache.org/viewvc?rev=648499&view=rev
Log:
remove const on socache module declarations to avoid segfault in
ap_setup_prelinked_modules() when modules linked in at compile time

Modified:
    httpd/httpd/trunk/modules/cache/mod_socache_dbm.c
    httpd/httpd/trunk/modules/cache/mod_socache_dc.c
    httpd/httpd/trunk/modules/cache/mod_socache_memcache.c
    httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c

Modified: httpd/httpd/trunk/modules/cache/mod_socache_dbm.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_socache_dbm.c?rev=648499&r1=648498&r2=648499&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_socache_dbm.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_socache_dbm.c Tue Apr 15 21:02:57 2008
@@ -499,7 +499,7 @@
                          &socache_dbm);
 }
 
-const module AP_MODULE_DECLARE_DATA socache_dbm_module = {
+module AP_MODULE_DECLARE_DATA socache_dbm_module = {
     STANDARD20_MODULE_STUFF,
     NULL, NULL, NULL, NULL, NULL,
     register_hooks

Modified: httpd/httpd/trunk/modules/cache/mod_socache_dc.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_socache_dc.c?rev=648499&r1=648498&r2=648499&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_socache_dc.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_socache_dc.c Tue Apr 15 21:02:57 2008
@@ -167,7 +167,7 @@
                          &socache_dc);
 }
 
-const module AP_MODULE_DECLARE_DATA socache_dc_module = {
+module AP_MODULE_DECLARE_DATA socache_dc_module = {
     STANDARD20_MODULE_STUFF,
     NULL, NULL, NULL, NULL, NULL,
     register_hooks

Modified: httpd/httpd/trunk/modules/cache/mod_socache_memcache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_socache_memcache.c?rev=648499&r1=648498&r2=648499&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_socache_memcache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_socache_memcache.c Tue Apr 15 21:02:57 2008
@@ -290,7 +290,7 @@
 #endif
 }
 
-const module AP_MODULE_DECLARE_DATA socache_memcache_module = {
+module AP_MODULE_DECLARE_DATA socache_memcache_module = {
     STANDARD20_MODULE_STUFF,
     NULL, NULL, NULL, NULL, NULL,
     register_hooks

Modified: httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c?rev=648499&r1=648498&r2=648499&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c Tue Apr 15 21:02:57 2008
@@ -839,7 +839,7 @@
                          &socache_shmcb);
 }
 
-const module AP_MODULE_DECLARE_DATA socache_shmcb_module = {
+module AP_MODULE_DECLARE_DATA socache_shmcb_module = {
     STANDARD20_MODULE_STUFF,
     NULL, NULL, NULL, NULL, NULL,
     register_hooks



Mime
View raw message