[Cmake-commits] CMake branch, master, updated. v2.8.1-1306-g60478de

KWSys Robot kwrobot at kitware.com
Fri Jun 11 10:20:05 EDT 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, master has been updated
       via  60478de3e5032a0db59f27e913fef222fe767518 (commit)
      from  6ce85691eb0a56ea1a9ae3858ff0e18a86a7c377 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=60478de3e5032a0db59f27e913fef222fe767518
commit 60478de3e5032a0db59f27e913fef222fe767518
Author: Brad King <brad.king at kitware.com>
Date:   Fri Jun 11 10:15:19 2010 -0400

    KWSys: Process tree kill for Solaris

diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c
index 9cb787a..adadef1 100644
--- a/Source/kwsys/ProcessUNIX.c
+++ b/Source/kwsys/ProcessUNIX.c
@@ -2377,6 +2377,9 @@ static pid_t kwsysProcessFork(kwsysProcess* cp,
    || defined(__OpenBSD__) || defined(__GLIBC__) || defined(__GNU__)
 # define KWSYSPE_PS_COMMAND "ps axo pid,ppid"
 # define KWSYSPE_PS_FORMAT  "%d %d\n"
+#elif defined(__sun) && (defined(__SVR4) || defined(__svr4__)) /* Solaris */
+# define KWSYSPE_PS_COMMAND "ps -e -o pid,ppid"
+# define KWSYSPE_PS_FORMAT  "%d %d\n"
 #elif defined(__hpux) || defined(__sun__) || defined(__sgi) || defined(_AIX) \
    || defined(__sparc)
 # define KWSYSPE_PS_COMMAND "ps -ef"

-----------------------------------------------------------------------

Summary of changes:
 Source/kwsys/ProcessUNIX.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list