#2709: System.Directory.doesDirectoryExist "\\" is False on Windows
---------------------------------+------------------------------------------
Reporter: Deewiant | Owner:
Type: bug | Status: new
Priority: high | Milestone: 6.10.1
Component: libraries/directory | Version: 6.10.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown/Multiple
Os: Windows |
---------------------------------+------------------------------------------
Changes (by igloo):
* priority: normal => high
* difficulty: => Unknown
* milestone: => 6.10.1
Comment:
I think this is because of these FilePath behaviour changes:
6.8.2:
{{{
Prelude System.FilePath.Windows> isDrive "\\"
True
Prelude System.FilePath.Windows> dropTrailingPathSeparator "\\"
"\\"
}}}
6.10:
{{{
Prelude System.FilePath.Windows> isDrive "\\"
False
Prelude System.FilePath.Windows> dropTrailingPathSeparator "\\"
""
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2709#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs