[GHC] #7604: System.Directory.canonicalizePath "" behaviour differs between platforms

GHC cvs-ghc at haskell.org
Fri Jan 18 02:30:39 CET 2013


#7604: System.Directory.canonicalizePath "" behaviour differs between platforms
------------------------------------+---------------------------------------
    Reporter:  igloo                |       Owner:                  
        Type:  bug                  |      Status:  new             
    Priority:  normal               |   Milestone:                  
   Component:  libraries/directory  |     Version:  7.6.1           
    Keywords:                       |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple     |     Failure:  None/Unknown    
  Difficulty:  Unknown              |    Testcase:  T4113           
   Blockedby:                       |    Blocking:                  
     Related:                       |  
------------------------------------+---------------------------------------
 On Linux, `System.Directory.canonicalizePath ""` gives an exception. On OS
 X, it returns the current directory.

 In a `System.Directory` function, we should consistently do one or the
 other.

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



More information about the ghc-tickets mailing list