[X2Go-Commits] [x2goclient] 211/217: src/unixhelper.{cpp, h}: make argument of kill_pgroup () const.

git-admin at x2go.org git-admin at x2go.org
Wed Sep 21 01:09:55 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 43b659889155c9c4132c0f586916d41c510b03fe
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri Aug 12 09:04:42 2016 +0200

    src/unixhelper.{cpp,h}: make argument of kill_pgroup () const.
---
 debian/changelog   |    1 +
 src/unixhelper.cpp |    2 +-
 src/unixhelper.h   |    2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c6f04ea..fd0fd66 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -361,6 +361,7 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
       instead of the "generic" slash UNIX-style separator.) Should fix a PA
       startup issue on Windows.
     - src/pulsemanager.cpp: fix PA version fetching on OS X again.
+    - src/unixhelper.{cpp,h}: make argument of kill_pgroup () const.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Mon, 19 Sep 2016 09:07:07 +0200
 
diff --git a/src/unixhelper.cpp b/src/unixhelper.cpp
index d5aa67d..4488786 100644
--- a/src/unixhelper.cpp
+++ b/src/unixhelper.cpp
@@ -34,7 +34,7 @@
 /* For documentation please see unixhelper.h. */
 
 namespace unixhelper {
-  void kill_pgroup (int signal) {
+  void kill_pgroup (const int signal) {
     if (SIGHUP == signal) {
       /* Try to kill via SIGTERM first. */
       if (0 != killpg (getpgrp (), SIGTERM)) {
diff --git a/src/unixhelper.h b/src/unixhelper.h
index a34456e..3c2798f 100644
--- a/src/unixhelper.h
+++ b/src/unixhelper.h
@@ -61,7 +61,7 @@ namespace unixhelper {
    *              (we cannot rely that this always happens, though,
    *               so a polling solution is needed, see unix_cleanup().)
    */
-  void kill_pgroup (int signal);
+  void kill_pgroup (const int signal);
 }
 
 #endif /* defined (Q_OS_UNIX) */

--
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