You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Alexei Kosut <ak...@hyperreal.org> on 1997/07/15 23:51:58 UTC

cvs commit: apache/src/nt mod_dll.c

akosut      97/07/15 14:51:57

  Modified:    src/nt    mod_dll.c
  Log:
  Change LoadLibrary() to LoadLibraryEx(), to use a more appropriate search
  path.
  
  Revision  Changes    Path
  1.2       +2 -1      apache/src/nt/mod_dll.c
  
  Index: mod_dll.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/nt/mod_dll.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -c -C3 -r1.1 -r1.2
  *** mod_dll.c	1997/07/13 19:01:34	1.1
  --- mod_dll.c	1997/07/15 21:51:56	1.2
  ***************
  *** 111,117 ****
    
        if (been_there_done_that) return NULL;
        
  !     if (!(modhandle = LoadLibrary(szModuleFile)))
    	return pstrcat (cmd->pool, "Cannot load ", szModuleFile, " into server",
    			NULL);
     
  --- 111,118 ----
    
        if (been_there_done_that) return NULL;
        
  !     if (!(modhandle = LoadLibraryEx(szModuleFile, NULL,
  ! 				    LOAD_WITH_ALTERED_SEARCH_PATH)))
    	return pstrcat (cmd->pool, "Cannot load ", szModuleFile, " into server",
    			NULL);