You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by na...@apache.org on 2002/05/13 10:57:56 UTC

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_shm.c

nacho       02/05/13 01:57:56

  Modified:    jk/native2/common jk_shm.c
  Log:
  * Fixed initialization of APR, this must be done in every place we use APR.
  
  Revision  Changes    Path
  1.14      +2 -0      jakarta-tomcat-connectors/jk/native2/common/jk_shm.c
  
  Index: jk_shm.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_shm.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- jk_shm.c	12 May 2002 01:07:10 -0000	1.13
  +++ jk_shm.c	13 May 2002 08:57:56 -0000	1.14
  @@ -75,6 +75,7 @@
   
   #include "apr.h"
   #include "apr_strings.h"
  +#include "apr_general.h"
   #include "apr_portable.h"
   #include "apr_lib.h"
   
  @@ -202,6 +203,7 @@
       /* We don't want to have to recreate the scoreboard after
        * restarts, so we'll create a global pool and never clean it.
        */
  +    apr_initialize(); 
       rv = apr_pool_create(&globalShmPool, NULL);
   
       if (rv != APR_SUCCESS) {
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>