tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native/apache-1.3 mod_jk.c
Date Mon, 08 Aug 2005 05:14:00 GMT
wrowe       2005/08/07 22:14:00

  Modified:    jk/native/apache-1.3 mod_jk.c
  Log:
    This didn't do what the author intended on Win32; without declspec(dllimport)
    the module was looking at the redirection of this extern, not the redirected
    result from loading the ApacheCore.dll module.  The *only* reason this might
    have worked is that nothing collided with ApacheCore.dll's preferred base
    address, but it is a crash for some users just waiting to happen.
  
  Revision  Changes    Path
  1.87      +5 -1      jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c
  
  Index: mod_jk.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c,v
  retrieving revision 1.86
  retrieving revision 1.87
  diff -u -r1.86 -r1.87
  --- mod_jk.c	4 Jul 2005 15:55:48 -0000	1.86
  +++ mod_jk.c	8 Aug 2005 05:14:00 -0000	1.87
  @@ -76,7 +76,11 @@
   #define ADD_SSL_INFO
   
   module MODULE_VAR_EXPORT jk_module;
  +#ifdef WIN32
  +extern __declspec(dllimport) module dir_module;
  +#else
   extern module dir_module;
  +#endif
   
   /*
    * Configuration object for the mod_jk module.
  
  
  

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


Mime
View raw message