tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c
Date Sun, 09 Jun 2002 01:56:15 GMT
nacho       2002/06/08 18:56:14

  Modified:    jk/native2/server/apache2 mod_jk2.c
  Log:
  * Fixing the build in win32
  * Cosmetic changes
  
  Revision  Changes    Path
  1.35      +2 -3      jakarta-tomcat-connectors/jk/native2/server/apache2/mod_jk2.c
  
  Index: mod_jk2.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/server/apache2/mod_jk2.c,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- mod_jk2.c	7 Jun 2002 23:45:30 -0000	1.34
  +++ mod_jk2.c	9 Jun 2002 01:56:14 -0000	1.35
  @@ -59,7 +59,7 @@
    * Description: Apache 2 plugin for Jakarta/Tomcat                         *
    * Author:      Gal Shachor <shachor@il.ibm.com>                           *
    *                 Henri Gomez <hgomez@slib.fr>                               *
  - * Version:     $Revision: 1.34 $                                           *
  + * Version:     $Revision: 1.35 $                                           *
    ***************************************************************************/
   
   /*
  @@ -286,13 +286,12 @@
       env->l=l;
       
   #ifdef WIN32
  -    env->soName=env->globalPool->calloc(env, env->globalPool, strlen(file_name)+1);
  +    env->soName=env->globalPool->pstrdup(env, env->globalPool, file_name);
       
       if( env->soName == NULL ){
           env->l->jkLog(env, env->l, JK_LOG_ERROR, "Error creating env->soName\n");
           return;
       }
  -    strcpy(env->soName,file_name);
   #else 
       env->soName=NULL;
   #endif
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message