[commit: packages/directory] master: Warn about effects of removePathForcibly on hard links (30d5e2d)
git at git.haskell.org
git at git.haskell.org
Mon Apr 17 21:35:18 UTC 2017
- Previous message: [commit: packages/containers] changelog-foldtree, cleaned_bugfix394, develop-0.6, develop-0.6-questionable, master, merge-doc-target, merge-fixes-5.9, merge-restrict-fix-5.8, revert-184-generic, revert-408-bugfix_394, zip-devel: Merge pull request #85 from treeowl/islist (cd5a854)
- Next message: [commit: packages/filepath] bgamari-patch-1, master: Allow QuickCheck-2.9 (267802e)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Repository : ssh://git@git.haskell.org/directory
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/30d5e2ddac84a008d914b278dcbc11077c7240ed/directory
>---------------------------------------------------------------
commit 30d5e2ddac84a008d914b278dcbc11077c7240ed
Author: Phil Ruffwind <rf at rufflewind.com>
Date: Thu Jan 19 18:18:30 2017 -0500
Warn about effects of removePathForcibly on hard links
>---------------------------------------------------------------
30d5e2ddac84a008d914b278dcbc11077c7240ed
System/Directory.hs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/System/Directory.hs b/System/Directory.hs
index 7829ecf..f4475c4 100644
--- a/System/Directory.hs
+++ b/System/Directory.hs
@@ -530,7 +530,8 @@ removeContentsRecursive path =
-- Unlike other removal functions, this function will also attempt to delete
-- files marked as read-only or otherwise made unremovable due to permissions.
-- As a result, if the removal is incomplete, the permissions or attributes on
--- the remaining files may be altered.
+-- the remaining files may be altered. If there are hard links in the
+-- directory, then permissions on all related hard links may be altered.
--
-- If an entry within the directory vanishes while @removePathForcibly@ is
-- running, it is silently ignored.
- Previous message: [commit: packages/containers] changelog-foldtree, cleaned_bugfix394, develop-0.6, develop-0.6-questionable, master, merge-doc-target, merge-fixes-5.9, merge-restrict-fix-5.8, revert-184-generic, revert-408-bugfix_394, zip-devel: Merge pull request #85 from treeowl/islist (cd5a854)
- Next message: [commit: packages/filepath] bgamari-patch-1, master: Allow QuickCheck-2.9 (267802e)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ghc-commits
mailing list