Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
9cbc1ea9
Commit
9cbc1ea9
authored
12 years ago
by
Francois Henrotte
Browse files
Options
Downloads
Patches
Plain Diff
correction of FixWindowsQuotes
parent
38c8e4fa
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/onelab/OnelabClients.cpp
+2
-2
2 additions, 2 deletions
contrib/onelab/OnelabClients.cpp
contrib/onelab/OnelabClients.h
+1
-1
1 addition, 1 deletion
contrib/onelab/OnelabClients.h
with
3 additions
and
3 deletions
contrib/onelab/OnelabClients.cpp
+
2
−
2
View file @
9cbc1ea9
...
@@ -855,7 +855,7 @@ void EncapsulatedClient::convert() {
...
@@ -855,7 +855,7 @@ void EncapsulatedClient::convert() {
}
}
std
::
string
EncapsulatedClient
::
buildCommandLine
(){
std
::
string
EncapsulatedClient
::
buildCommandLine
(){
return
FixWindowsQuote
(
OLMsg
::
GetLoaderName
());
return
FixWindowsQuote
s
(
OLMsg
::
GetLoaderName
());
}
}
void
EncapsulatedClient
::
compute
(){
void
EncapsulatedClient
::
compute
(){
...
@@ -1159,7 +1159,7 @@ std::string sanitize(const std::string &in)
...
@@ -1159,7 +1159,7 @@ std::string sanitize(const std::string &in)
return
out
;
return
out
;
}
}
std
::
string
FixWindowQuotes
(
const
std
::
string
&
in
)
std
::
string
FixWindow
s
Quotes
(
const
std
::
string
&
in
)
{
{
#if defined(WIN32)
#if defined(WIN32)
return
"
\"
"
+
in
+
"
\"
"
;
return
"
\"
"
+
in
+
"
\"
"
;
...
...
This diff is collapsed.
Click to expand it.
contrib/onelab/OnelabClients.h
+
1
−
1
View file @
9cbc1ea9
...
@@ -39,7 +39,7 @@ std::string getUserHomedir();
...
@@ -39,7 +39,7 @@ std::string getUserHomedir();
std
::
string
sanitize
(
const
std
::
string
&
in
);
std
::
string
sanitize
(
const
std
::
string
&
in
);
std
::
string
removeBlanks
(
const
std
::
string
&
in
);
std
::
string
removeBlanks
(
const
std
::
string
&
in
);
bool
isPath
(
const
std
::
string
&
in
);
bool
isPath
(
const
std
::
string
&
in
);
std
::
string
FixWindowQuotes
(
const
std
::
string
&
in
);
std
::
string
FixWindow
s
Quotes
(
const
std
::
string
&
in
);
std
::
string
unquote
(
const
std
::
string
&
in
);
std
::
string
unquote
(
const
std
::
string
&
in
);
// Parser TOOLS
// Parser TOOLS
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment