[GHC] #3186: findExeutable does not respect order of search path on Windows

GHC trac at galois.com
Thu May 28 10:35:43 EDT 2009


#3186: findExeutable does not respect order of search path on Windows
------------------------------------+---------------------------------------
    Reporter:  duncan               |        Owner:  simonmar
        Type:  bug                  |       Status:  new     
    Priority:  normal               |    Milestone:  6.12.1  
   Component:  libraries/directory  |      Version:  6.10.2  
    Severity:  normal               |   Resolution:          
    Keywords:                       |   Difficulty:  Unknown 
    Testcase:                       |           Os:  Windows 
Architecture:  Unknown/Multiple     |  
------------------------------------+---------------------------------------
Changes (by simonmar):

  * owner:  => simonmar

Comment:

 Is this ok?

 {{{
 -- On Windows, 'findExecutable' calls the Win32 function 'SearchPath',
 -- which may search other places before checking the directories in
 -- @PATH at .  Where it actually searches depends on registry settings,
 -- but notably includes the directory containing the current
 -- executable. See <http://msdn.microsoft.com/en-us/library/aa365527.aspx>
 -- for more details.
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3186#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list