Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixes and refactoring of normalise #23

Merged
merged 3 commits into from
Oct 26, 2014
Merged

Bug fixes and refactoring of normalise #23

merged 3 commits into from
Oct 26, 2014

Conversation

thomie
Copy link
Contributor

@thomie thomie commented Oct 26, 2014

No description provided.

When drive represents a network share, slashes were not being normalised
properly.
Only when a path on Windows starts with a leading forward slash does propSep
need to do something, all others path separators are properly taken care of by
joinPath.

Add 2 tests to show that splitDirectories can handle superfluous
pathSeparators, and a test to show that (this new version of) propSep is
indeed needed to normalise relative-to-root paths on Windows.
@ndmitchell ndmitchell merged commit eca255a into haskell:master Oct 26, 2014
@ndmitchell
Copy link
Contributor

Great - I knew there were a few bugs and had opened #12 to track them down - I suspect there might be even more bugs lurking, or perhaps this gets them all.

@thomie thomie deleted the normalise branch October 26, 2014 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants