[X2Go-Commits] [x2goclient] 197/219: src/x2goutils.cpp: add some debug logging to find_binary ().

git-admin at x2go.org git-admin at x2go.org
Thu Sep 22 04:37:34 CEST 2016


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch bugfix/osx
in repository x2goclient.

commit 0458d42d5b14d61a7a28ea4ddca831fa8630029e
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Jun 22 04:53:13 2016 +0200

    src/x2goutils.cpp: add some debug logging to find_binary ().
---
 debian/changelog  |    1 +
 src/x2goutils.cpp |    4 ++++
 2 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a43e197..c89adc8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -331,6 +331,7 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
     - src/pulsemanager.cpp: remove extraneous newlines from debug output.
     - src/x2goutils.cpp: fix faulty logic in find_binary (): only reset the
       given path to CWD iff it's actually empty. Not the other way around.
+    - src/x2goutils.cpp: add some debug logging to find_binary ().
 
  -- X2Go Release Manager <git-admin at x2go.org>  Mon, 19 Sep 2016 09:07:07 +0200
 
diff --git a/src/x2goutils.cpp b/src/x2goutils.cpp
index 45c31df..9612b12 100644
--- a/src/x2goutils.cpp
+++ b/src/x2goutils.cpp
@@ -321,6 +321,10 @@ QString find_binary (const QString &path, const QString &binary_name) {
         ret = tmp_file_info.canonicalFilePath ();
         break;
       }
+      else {
+        x2goDebug << "Binary at " << cur_path << " either does not exist (" << !(tmp_file_info.exists ())
+                  << ") or is not executable (" << tmp_file_info.isExecutable () << ")";
+      }
     }
   }
 

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list