[commit: packages/directory] master: Absolutize paths on Windows when possible (68837ad)
git at git.haskell.org
git at git.haskell.org
Mon Apr 17 21:36:05 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: Remove unsafeCoerce, use only coerce on GHC 7.8 and later. (b38f240)
- Next 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: Add simple fromFunction benchmarks. (a556ef2)
- 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/68837ad2508602bf9d5d75cdd690108a5a299ebe/directory
>---------------------------------------------------------------
commit 68837ad2508602bf9d5d75cdd690108a5a299ebe
Author: Phil Ruffwind <rf at rufflewind.com>
Date: Tue Mar 7 07:26:00 2017 -0500
Absolutize paths on Windows when possible
Many Windows API calls will fail if current directory + relative path
exceeds MAX_PATH, so it's better to just use absolute paths for
everything.
This change required moving a few functions into the Common module to
avoid recursive imports.
>---------------------------------------------------------------
68837ad2508602bf9d5d75cdd690108a5a299ebe
System/Directory.hs | 117 +++++-----------------------------
System/Directory/Internal/Common.hs | 97 ++++++++++++++++++++++++++++
System/Directory/Internal/Windows.hsc | 22 ++++---
tests/LongPaths.hs | 12 +++-
4 files changed, 135 insertions(+), 113 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 68837ad2508602bf9d5d75cdd690108a5a299ebe
- 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: Remove unsafeCoerce, use only coerce on GHC 7.8 and later. (b38f240)
- Next 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: Add simple fromFunction benchmarks. (a556ef2)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ghc-commits
mailing list