Exception if temp path has national symbols
Environment: Windows Vista Home Ru + sp1 ghc 6.10.1
Code for reproduced (file tst.hs): `/x-haskell import System.Directory
main = do cwd <- getTemporaryDirectory putStrLn cwd setCurrentDirectory cwd ` Console session:
C:\Lang\test\haskell\Тест>ghc --make tst.hs
[1 of 1] Compiling Main ( tst.hs, tst.o )
Linking tst.exe ...
C:\Lang\test\haskell\Тест>set TMP=C:\Lang\test\haskell\Тест
C:\Lang\test\haskell\Тест>tst.exe
C:\Lang\test\haskell\╥хёЄ\
tst.exe: SetCurrentDirectory: does not exist (5 C405BAO =09B8 C:070==K9 D09;.)
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | libraries/directory |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |