Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
c671fd85
Commit
c671fd85
authored
Feb 14, 2021
by
LEFEBVREJP email
Browse files
Fixed get_paths situation where Windows directory path doesn't end with '/'.
parent
356b9ac2
Pipeline
#135799
passed with stages
in 19 minutes and 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
radixcore/system.cc
View file @
c671fd85
...
...
@@ -292,6 +292,11 @@ bool get_paths(const std::string &spec, std::vector<std::string> &paths,
(
radix
::
dir_exists
(
spec
))
?
spec
:
radix
::
dirname
(
spec
);
if
(
native_dir
.
compare
(
"."
)
!=
0
)
{
// check last character to ensure '/'
if
(
*
native_dir
.
end
()
!=
'/'
)
{
native_dir
=
native_dir
+
"/"
;
}
for
(
size_t
i
=
0
;
i
<
paths
.
size
();
++
i
)
{
radix_tagged_line
(
"Concatenating: "
<<
native_dir
<<
" and "
<<
paths
[
i
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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