On 12/30/2008 06:08 PM, j...@apache.org wrote:
> Author: jim
> Date: Tue Dec 30 09:08:24 2008
> New Revision: 730181
> 
> URL: http://svn.apache.org/viewvc?rev=730181&view=rev
> Log:
> And complete the API changes...
> 
> Modified:
>     httpd/httpd/trunk/modules/mem/mod_slotmem.h
>     httpd/httpd/trunk/modules/mem/providers/mod_plainmem.c
>     httpd/httpd/trunk/modules/mem/providers/mod_sharedmem.c
> 
> Modified: httpd/httpd/trunk/modules/mem/mod_slotmem.h
> URL: 
> http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mem/mod_slotmem.h?rev=730181&r1=730180&r2=730181&view=diff
> ==============================================================================

> Modified: httpd/httpd/trunk/modules/mem/providers/mod_plainmem.c
> URL: 
> http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mem/providers/mod_plainmem.c?rev=730181&r1=730180&r2=730181&view=diff
> ==============================================================================
> --- httpd/httpd/trunk/modules/mem/providers/mod_plainmem.c (original)
> +++ httpd/httpd/trunk/modules/mem/providers/mod_plainmem.c Tue Dec 30 
> 09:08:24 2008

> @@ -167,6 +159,7 @@
>  
>  static void ap_plainmem_register_hook(apr_pool_t *p)
>  {
> +    static const char * const prePos[] = { "mod_slotmem.c", NULL };

Why is prePos not used later on? And don't we need to do the same thing
regarding hook ordering for mod_sharedmem.c?

>      ap_register_provider(p, SLOTMEM_STORAGE, "plain", "0", &storage);
>      ap_hook_pre_config(pre_config, NULL, NULL, APR_HOOK_MIDDLE);
>  }
> 

Reply via email to