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

GHC trac at galois.com
Wed Apr 22 12:13:27 EDT 2009


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

 Replying to [comment:1 NeilMitchell]:
 > FWIW, I considered the user vs system %PATH% split, but when I was
 having problems I checked and all my copies of haddock were on the user
 part of %PATH%, so that doesn't seem relevant.

 Yeah, same here.

 I note that we do not pass the `%PATH%` to the `SearchPath` function. We
 pas `NULL` which lets it do some system-dependent thing. It might be
 interesting to see if passing the `%PATH%` makes any difference to the
 behaviour. A quick google search doesn't bring up anything about this
 oddity.

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


More information about the Glasgow-haskell-bugs mailing list