#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):
Yes, the point is that if you're using "" to mean ".", then that's wrong.
It's only System.FilePath that has this behaviour, the OS interface
doesn't (try `changeCurrentDirectory ""`).
I suppose to avoid breakage we could just make System.FilePath accept ""
as it currently does, giving it the same meaning as ".", but it would
never yield "" as a directory name.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3276#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs