rse         98/09/19 05:27:26

  Modified:    src/modules/standard mod_so.c
               src/os/win32 os.h
  Log:
  Fix DSO for Rapsody port:
  The ap_os_dso_init() was comitted but not the call for it
  inside mod_so.c. Additionally I assed an empty define
  for the WIN32 platform for consistency.
  
  Submitted by: Wilfredo Sanchez <[EMAIL PROTECTED]>
  
  Revision  Changes    Path
  1.26      +4 -0      apache-1.3/src/modules/standard/mod_so.c
  
  Index: mod_so.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_so.c,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- mod_so.c  1998/05/06 15:18:02     1.25
  +++ mod_so.c  1998/09/19 12:27:24     1.26
  @@ -153,6 +153,10 @@
       soc = (so_server_conf *)ap_pcalloc(p, sizeof(so_server_conf));
       soc->loaded_modules = ap_make_array(p, DYNAMIC_MODULE_LIMIT, 
                                        sizeof(moduleinfo));
  +#ifndef NO_DLOPEN
  +    ap_os_dso_init();
  +#endif
  +
       return (void *)soc;
   }
   
  
  
  
  1.24      +1 -0      apache-1.3/src/os/win32/os.h
  
  Index: os.h
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/os/win32/os.h,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- os.h      1998/07/13 11:32:51     1.23
  +++ os.h      1998/09/19 12:27:25     1.24
  @@ -107,6 +107,7 @@
    * These are used by mod_so.c
    */
   #define ap_os_dso_handle_t  HINSTANCE
  +#define ap_os_dso_init()
   #define ap_os_dso_load(l)   LoadLibraryEx(l, NULL, 
LOAD_WITH_ALTERED_SEARCH_PATH)
   #define ap_os_dso_unload(l) FreeLibrary(l)
   #define ap_os_dso_sym(h,s)  GetProcAddress(h,s)
  
  
  

Reply via email to