[GHC] #5975: ghci can't load file whose name contains non-ASCII chars?
GHC
cvs-ghc at haskell.org
Wed Apr 11 17:01:42 CEST 2012
#5975: ghci can't load file whose name contains non-ASCII chars?
-------------------------------+--------------------------------------------
Reporter: j.waldmann | Owner:
Type: bug | Status: patch
Priority: normal | Milestone:
Component: GHCi | Version: 7.4.1
Keywords: | Os: Linux
Architecture: x86_64 (amd64) | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
-------------------------------+--------------------------------------------
Comment(by simonmar):
`5975.patch` looks fine - I think the previous encoding/decoding was to
handle Unicode filenames before we got support for them in the IO library.
We should have a test for this too, though I'm not sure whether it will
work to add a file with non-ASCII chars to the repo, it might be safer to
generate one when we run the test.
Good catch on the race condition. I don't remember all the details here.
It looks like exceptionFlag should be per-thread. But if your patch works
around it and all the tests pass then I'm happy for it to go in.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5975#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list