You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Stas Bekman <st...@stason.org> on 2003/08/16 00:09:51 UTC

[patch include/apr_hooks.h] wrong function is deprecated

it should be the other way around: apr_global_hook_pool is the deprecated one

Index: include/apr_hooks.h
===================================================================
RCS file: /home/cvspublic/apr-util/include/apr_hooks.h,v
retrieving revision 1.47
diff -u -r1.47 apr_hooks.h
--- include/apr_hooks.h 1 Jan 2003 00:02:20 -0000       1.47
+++ include/apr_hooks.h 15 Aug 2003 22:13:05 -0000
@@ -245,10 +245,10 @@
  /**
   * The global pool used to allocate any memory needed by the hooks.
   */
-APU_DECLARE_DATA extern apr_pool_t *apr_global_hook_pool;
+APU_DECLARE_DATA extern apr_pool_t *apr_hook_global_pool;

  /** @deprecated @see apr_hook_global_pool */
-APU_DECLARE_DATA extern apr_pool_t *apr_hook_global_pool;
+APU_DECLARE_DATA extern apr_pool_t *apr_global_hook_pool;

  /**
   * A global variable to determine if debugging information about the


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: [patch include/apr_hooks.h] wrong function is deprecated

Posted by Thom May <th...@planetarytramp.net>.
* Stas Bekman (stas@stason.org) wrote :
> 
> it should be the other way around: apr_global_hook_pool is the deprecated 
> one
Good catch, thanks.
Committed.
-Thom