This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goclient.
commit 45d0f1bcbf423c57e47c94c7e86af35617d4b2f9
Author: Mihai Moldovan
Date: Thu Feb 23 09:28:32 2017 +0100
src/x2goutils.cpp: ensure that add_to_path () also processes the first
value passed.
Fixes startup problems in MacPorts.
---
debian/changelog |2 ++
src/x2goutils.cpp |2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 10c656e..903522d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -74,6 +74,8 @@ x2goclient (4.1.0.1-0x2go1) UNRELEASED; urgency=medium
there's no way to query the remote endpoint information. As a result we
will be unable to open a new socket to the remote endpoint and proxying
will fail badly.
+- src/x2goutils.cpp: ensure that add_to_path () also processes the first
+ value passed. Fixes startup problems in MacPorts.
-- X2Go Release Manager Wed, 22 Feb 2017 07:13:10 +0100
diff --git a/src/x2goutils.cpp b/src/x2goutils.cpp
index 7065d98..79c0700 100644
--- a/src/x2goutils.cpp
+++ b/src/x2goutils.cpp
@@ -299,7 +299,7 @@ QString add_to_path (const QString _path, const
QStringList , const boo
}
}
else {
-for (int i = (clean_add.size () - 1); i > 0; --i) {
+for (int i = (clean_add.size () - 1); i >= 0; --i) {
if (!found[i]) {
ret.prepend (QString (clean_add[i] + ":"));
}
--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email
on /srv/git/code.x2go.org/x2goclient.git
___
x2go-commits mailing list
x2go-commits@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-commits