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

GHC cvs-ghc at haskell.org
Thu Jan 24 22:02:17 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:                       |  
------------------------------------+---------------------------------------
Description changed by igloo:

Old description:

> 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.

New description:

 On Linux, `System.Directory.canonicalizePath ""` gives an exception. On
 i386 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#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list