[GHC] #15021: ghc-pkg list crashes on Windows when unicode character is in the path

GHC ghc-devs at haskell.org
Mon May 14 02:52:37 UTC 2018


#15021: ghc-pkg list crashes on Windows when unicode character is in the path
-------------------------------------+-------------------------------------
        Reporter:  nh2               |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.6.1
       Component:  ghc-pkg           |              Version:  8.2.2
      Resolution:  fixed             |             Keywords:
Operating System:  Windows           |         Architecture:
 Type of failure:  GHC doesn't work  |  Unknown/Multiple
  at all                             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #10762, #15096    |  Differential Rev(s):  Phab:D4642
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"cf88c2b109a9f36d151af7fa0e542c48c98115fa/ghc" cf88c2b/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="cf88c2b109a9f36d151af7fa0e542c48c98115fa"
 ghc-pkg: Configure handle encodings

 This fixes #15021 using a the same approach as was used to fix the issue
 in ghc (#10762).

 Test Plan: Validate on Windows as user whose username contains
 non-ASCII characters

 Reviewers: simonmar

 Reviewed By: simonmar

 Subscribers: lehins, thomie, carter

 GHC Trac Issues: #15021

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

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


More information about the ghc-tickets mailing list