[GHC] #8342: System.Directory.getPermissions does not work well on Windows 7
GHC
ghc-devs at haskell.org
Mon Sep 23 05:43:51 CEST 2013
#8342: System.Directory.getPermissions does not work well on Windows 7
---------------------------------------+---------------------------------
Reporter: freizl | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: libraries/directory | Version: 7.4.1
Keywords: | Operating System: Windows
Architecture: x86_64 (amd64) | Type of failure: None/Unknown
Difficulty: Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: |
---------------------------------------+---------------------------------
It works well for following code
{{{
System.Directory.getPermissions "/path/to/somewhere"
}}}
However getting error with this:
{{{
System.Directory.getPermissions "/path/to/somewhere/"
*** Exception: getPermissions: does not exist (No such file or directory)
}}}
The only difference is the path name. It gets error when having extra
trailing slash.
It looks wired.
Thanks your help.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8342>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list