From 9cbc1ea9cdefa509165115955ab8ec786b7e0eb1 Mon Sep 17 00:00:00 2001 From: Francois Henrotte <francois.henrotte@ulg.ac.be> Date: Fri, 26 Oct 2012 08:24:45 +0000 Subject: [PATCH] correction of FixWindowsQuotes --- contrib/onelab/OnelabClients.cpp | 4 ++-- contrib/onelab/OnelabClients.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/onelab/OnelabClients.cpp b/contrib/onelab/OnelabClients.cpp index 92eca09df3..d134824ccc 100644 --- a/contrib/onelab/OnelabClients.cpp +++ b/contrib/onelab/OnelabClients.cpp @@ -855,7 +855,7 @@ void EncapsulatedClient::convert() { } std::string EncapsulatedClient::buildCommandLine(){ - return FixWindowsQuote(OLMsg::GetLoaderName()); + return FixWindowsQuotes(OLMsg::GetLoaderName()); } void EncapsulatedClient::compute(){ @@ -1159,7 +1159,7 @@ std::string sanitize(const std::string &in) return out; } -std::string FixWindowQuotes(const std::string &in) +std::string FixWindowsQuotes(const std::string &in) { #if defined(WIN32) return "\"" + in + "\""; diff --git a/contrib/onelab/OnelabClients.h b/contrib/onelab/OnelabClients.h index bc8a421c22..6e63e28a84 100644 --- a/contrib/onelab/OnelabClients.h +++ b/contrib/onelab/OnelabClients.h @@ -39,7 +39,7 @@ std::string getUserHomedir(); std::string sanitize(const std::string &in); std::string removeBlanks(const std::string &in); bool isPath(const std::string &in); -std::string FixWindowQuotes(const std::string &in); +std::string FixWindowsQuotes(const std::string &in); std::string unquote(const std::string &in); // Parser TOOLS -- GitLab