[GHC] #7971: doesDirectoryExist description differs from its behavior
GHC
ghc-devs at haskell.org
Sun Jun 9 02:30:08 CEST 2013
#7971: doesDirectoryExist description differs from its behavior
----------------------------------------+-----------------------------------
Reporter: dsf | Owner:
Type: bug | Status: new
Priority: normal | Component: libraries/directory
Version: 7.6.3 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Incorrect result at runtime | Blockedby:
Blocking: | Related:
----------------------------------------+-----------------------------------
Comment(by dsf):
I have satisfied myself that removeDirectoryRecursive will not follow
symlinks. Although doesDirectoryExist will return true for a symlink to
an existing directory, before that can happen the call to removeFile would
remove the symlink. That caution in the documentation can be removed.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7971#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list