#3086: Exception if temp path has national symbols
-----------------------------+----------------------------------------------
Reporter: Tonal | Owner:
Type: bug | Status: new
Priority: normal | Component: libraries/directory
Version: 6.10.1 | Severity: normal
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-----------------------------+----------------------------------------------
Environment: Windows Vista Home Ru + sp1 ghc 6.10.1
Code for reproduced (file tst.hs):
{{{
#!text/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;.)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3086>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs