[GHC] #3276: FilePath.addTrailingPathSeparator "" = "/"
GHC
trac at galois.com
Wed Jun 10 04:48:28 EDT 2009
#3276: FilePath.addTrailingPathSeparator "" = "/"
----------------------------------+-----------------------------------------
Reporter: duncan | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: libraries (other) | Version: 6.10.2
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
----------------------------------+-----------------------------------------
Comment (by simonmar):
"" isn't a valid `FilePath`, in the sense that passing it to an OS
function expecting a `FilePath` will result in an error. So I think that
`System.FilePath` should never return "" as a directory name, and it
should probably raise an error if "" is passed in too.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3276#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list