[GHC] #14483: getExecutablePath from System.Environment in base should follow symlinks properly.

GHC ghc-devs at haskell.org
Thu Nov 23 14:06:07 UTC 2017


#14483: getExecutablePath from System.Environment in base should follow symlinks
properly.
-------------------------------------+-------------------------------------
        Reporter:  angerman          |                Owner:  alpmestan
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  D4227
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by alpmestan):

 * status:  new => patch
 * differential:   => D4227


Comment:

 I have a patch that improves the windows implementation of
 `getExecutablePath` so that it follows symlinks at
 https://phabricator.haskell.org/D4227 -- feedback welcome.

 This however does not change ghc, ghc-pkg and hsc2hs to use
 `getExecutablePath` (instead of the current duplicated code that does
 something equivalent).

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


More information about the ghc-tickets mailing list