Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jean-Francois Dockes
recoll
Commits
a8d5c2e7
Commit
a8d5c2e7
authored
Feb 08, 2017
by
Jean-Francois Dockes
Browse files
windows: path_canon should yield c:/ not c:
parent
c5ca129d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/utils/pathut.cpp
View file @
a8d5c2e7
...
...
@@ -444,6 +444,14 @@ string path_canon(const string& is, const string* cwd)
}
else
{
ret
=
"/"
;
}
#ifdef _WIN32
// Raw drive needs a final /
if
(
path_strlookslikedrive
(
ret
))
{
path_catslash
(
ret
);
}
#endif
return
ret
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment