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
CMake
CMake
Commits
cd9157d9
Commit
cd9157d9
authored
Feb 25, 2002
by
Bill Hoffman
Browse files
BUG: fix remove of cygdrive path stuff
parent
a6333bfc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmSystemTools.cxx
View file @
cd9157d9
...
...
@@ -431,8 +431,8 @@ std::string cmSystemTools::ConvertToUnixOutputPath(const char* path)
{
std
::
string
ret
=
path
;
// remove //
std
::
string
::
size_type
pos
=
0
;
// remove //
except at the beginning might be a cygwin drive
std
::
string
::
size_type
pos
=
1
;
while
((
pos
=
ret
.
find
(
"//"
,
pos
))
!=
std
::
string
::
npos
)
{
ret
.
erase
(
pos
,
1
);
...
...
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