[GHC] #3189: Exception in canonicalizePath if path has national symbols

GHC trac at galois.com
Fri Apr 24 06:48:32 EDT 2009


#3189: Exception in canonicalizePath if path has national symbols
--------------------+-------------------------------------------------------
Reporter:  Tonal    |          Owner:                     
    Type:  bug      |         Status:  new                
Priority:  normal   |      Component:  libraries/directory
 Version:  6.10.2   |       Severity:  normal             
Keywords:           |       Testcase:                     
      Os:  Windows  |   Architecture:  Unknown/Multiple   
--------------------+-------------------------------------------------------
 Environment: Windows Vista Home Ru + sp1 ghc 6.10.2

 Code for reproduced (file tst2.hs):
 {{{
 import System.Directory

 main = do
   cwd <- canonicalizePath "."
   putStrLn cwd
   setCurrentDirectory cwd
 }}}
 Console session:
 {{{
 C:\Lang\test\haskell\Тест>ghc --make tst2.hs
 [1 of 1] Compiling Main             ( tst2.hs, tst2.o )
 Linking tst2.exe ...

 C:\Lang\test\haskell\Тест>tst2.exe
 C:\Lang\test\haskell\╥хёЄ
 tst2.exe: SetCurrentDirectory: does not exist (
5 C405BAO =09B8 C:070==K9
 D09;.)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3189>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list