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

2016-09-20 Thread git-admin
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 
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   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
___
x2go-commits mailing list
x2go-commits@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-commits


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

2016-08-27 Thread git-admin
This is an automated email from the git hooks/post-receive script.

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

commit ca4ddfc6cedcec4bdc02216d6d7931dd5cc14ec1
Author: Mihai Moldovan 
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 351cabc..1a98b7f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -394,6 +394,7 @@ x2goclient (4.0.5.2-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.
   * debian/control:
 - Maintainer change in package: X2Go Developers .
 - Uploaders: add myself. Also, force a rebuild due to the changed
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
___
x2go-commits mailing list
x2go-commits@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-commits