[GHC] #7604: System.Directory.canonicalizePath "" behaviour differs between platforms
#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
#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
#7604: System.Directory.canonicalizePath "" behaviour differs between platforms ------------------------------------+--------------------------------------- Reporter: igloo | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.8.1 Component: libraries/directory | Version: 7.6.1 Keywords: | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Unknown | Testcase: T4113 Blockedby: | Blocking: Related: | ------------------------------------+--------------------------------------- Changes (by igloo): * milestone: => 7.8.1 -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7604#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC