[GHC] #14159: Decomposition of path sometimes fails

GHC ghc-devs at haskell.org
Tue Aug 29 21:59:58 UTC 2017


#14159: Decomposition of path sometimes fails
---------------------------------+----------------------------------------
        Reporter:  Phyx-         |                Owner:  Phyx-
            Type:  bug           |               Status:  patch
        Priority:  normal        |            Milestone:  8.2.2
       Component:  Compiler      |              Version:  8.2.1
      Resolution:                |             Keywords:
Operating System:  Windows       |         Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:                |  Differential Rev(s):  Phab:D3891
       Wiki Page:                |
---------------------------------+----------------------------------------

Comment (by Tamar Christina <tamar@…>):

 In [changeset:"3c6b2fc3b5ca11a5410405664e4640767ef941dd/ghc"
 3c6b2fc3/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="3c6b2fc3b5ca11a5410405664e4640767ef941dd"
 Fix decomposition error on Windows

 Summary:
 Fix the path decomposition error that occurs when the Symlink resolver
 fails. `Win32.try` throws an exception, so catch it and assume the path
 isn't a symlink to use the old behavior.

 Test Plan: ./validate

 Reviewers: austin, bgamari

 Reviewed By: bgamari

 Subscribers: rwbarton, thomie

 GHC Trac Issues: #14159

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

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


More information about the ghc-tickets mailing list