[GHC] #14460: Symlink resolving fails against SMB mounts

GHC ghc-devs at haskell.org
Mon Nov 27 15:21:30 UTC 2017


#14460: Symlink resolving fails against SMB mounts
-------------------------------------+-------------------------------------
        Reporter:  astert            |                Owner:  Phyx-
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:
 Type of failure:  GHC doesn't work  |  Unknown/Multiple
  at all                             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4216
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"62823668c48e13290e2ffe0d593a9f6a95cf628b/ghc"
 62823668/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="62823668c48e13290e2ffe0d593a9f6a95cf628b"
 Follow symlinks in the Win32 code for System.Environment.getExecutablePath

 This partially addresses #14483 by fixing the Windows implementation of
 System.Environment.getExecutablePath. This is achieved by using
 GetFinalPathNameByHandleW to resolve potential symlinks, while making
 sure we do not get back a UNC path (see #14460).

 Test Plan: Validate

 Reviewers: Phyx, bgamari, angerman, hvr, goldfire

 Reviewed By: Phyx, bgamari

 GHC Trac Issues: #14483

 Differential Revision: https://phabricator.haskell.org/D4227
 }}}

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


More information about the ghc-tickets mailing list