[commit: packages/directory] Mistuke-bump-win32-version-bounds, bgamari-patch-1, master: canonicalizePath: Canonicalize case on Windows (bc1d6b1)
git at git.haskell.org
git at git.haskell.org
Mon Apr 17 21:34:54 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 #69 from treeowl/fmapfmap (b2c1c79)
- 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, zip-devel: Implement map/coerce for IntMap (ee3eb5f)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Repository : ssh://git@git.haskell.org/directory
On branches: Mistuke-bump-win32-version-bounds,bgamari-patch-1,master
Link : http://ghc.haskell.org/trac/ghc/changeset/bc1d6b17287e93fa7f28228b4ae210eb2a0aa174/directory
>---------------------------------------------------------------
commit bc1d6b17287e93fa7f28228b4ae210eb2a0aa174
Author: Phil Ruffwind <rf at rufflewind.com>
Date: Tue Nov 29 02:07:45 2016 -0500
canonicalizePath: Canonicalize case on Windows
Use GetShortPathName and GetLongPathName to find the correct letter case
of the path. This only works on existing paths, so it behaves similar
to realpath on POSIX systems and we can therefore reuse the same trick
codified in attemptRealpath.
>---------------------------------------------------------------
bc1d6b17287e93fa7f28228b4ae210eb2a0aa174
System/Directory.hs | 35 ++++++++++++---------
System/Directory/Internal/Prelude.hs | 6 +++-
System/Directory/Internal/Windows.hsc | 58 +++++++++++++++++++++++++++++++++++
changelog.md | 2 ++
tests/CanonicalizePath.hs | 51 +++++++++++++++++++++++++++++-
tests/Util.hs | 8 +++++
6 files changed, 143 insertions(+), 17 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 bc1d6b17287e93fa7f28228b4ae210eb2a0aa174
- 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 #69 from treeowl/fmapfmap (b2c1c79)
- 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, zip-devel: Implement map/coerce for IntMap (ee3eb5f)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ghc-commits
mailing list