This is an automated email from the ASF dual-hosted git repository. tschoening pushed a commit to branch ghpr_14_replace-ant-build-with-cmake in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git
commit bb9ab5f28d5e92aad945c98a8d72136773546d48 Author: Thorsten Schöning <[email protected]> AuthorDate: Sun Feb 9 21:18:15 2020 +0100 Enhance support for paths with spaces by simply using a different divider character. --- src/test/cpp/net/socketserverstarter.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/test/cpp/net/socketserverstarter.cpp b/src/test/cpp/net/socketserverstarter.cpp index 43e9d56..59ac0f8 100644 --- a/src/test/cpp/net/socketserverstarter.cpp +++ b/src/test/cpp/net/socketserverstarter.cpp @@ -5,9 +5,9 @@ * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -32,7 +32,7 @@ LOGUNIT_CLASS(SocketServerStarter) LOGUNIT_TEST_SUITE(SocketServerStarter); LOGUNIT_TEST(startServer); LOGUNIT_TEST_SUITE_END(); - + public: void setUp() { @@ -41,7 +41,7 @@ public: void tearDown() { } - + void startServer() { helpers::Pool p; @@ -76,9 +76,9 @@ public: for (; i < 14 && pcmd && *pcmd; ++i) { args[i] = pcmd; - if (NULL != (pcmd = strchr(pcmd, ' '))) + if (NULL != (pcmd = strchr(pcmd, ';'))) { - while(' ' == *pcmd) + while(';' == *pcmd) { *pcmd = 0; ++pcmd;
