[X2Go-Commits] [x2goclient] 211/276: src/unixhelper.{cpp, h}: make argument of kill_pgroup () const.
git-admin at x2go.org
git-admin at x2go.org
Sat Dec 31 01:35:26 CET 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 57384ece5422fc11185104b83af17e763420474f
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 57c8fef..7bae9e4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -371,6 +371,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.
[ Bernard Cafarelli ]
* New upstream version (4.0.5.3):
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