diff options
author | Brad King <brad.king@kitware.com> | 2010-04-19 20:30:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-04-19 20:30:37 (GMT) |
commit | 60de059bfff9e48f98fcad99b7176cd172a09dab (patch) | |
tree | c024ac10ce4a5d2d4ba3f941b8bf9f77399f0abf /Source/kwsys/ProcessUNIX.c | |
parent | 43072405e2b5cc633f87f2f7090b7cbbe29f1eb5 (diff) | |
download | CMake-60de059bfff9e48f98fcad99b7176cd172a09dab.zip CMake-60de059bfff9e48f98fcad99b7176cd172a09dab.tar.gz CMake-60de059bfff9e48f98fcad99b7176cd172a09dab.tar.bz2 |
KWSys Process: Add OpenBSD process tree kill support
Patch from Chuck Atkins <chuck.atkins@kitware.com>
Diffstat (limited to 'Source/kwsys/ProcessUNIX.c')
-rw-r--r-- | Source/kwsys/ProcessUNIX.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c index 57f7b16..b368901 100644 --- a/Source/kwsys/ProcessUNIX.c +++ b/Source/kwsys/ProcessUNIX.c @@ -2374,7 +2374,7 @@ static pid_t kwsysProcessFork(kwsysProcess* cp, corresponding parsing format string. The parsing format should have two integers to store: the pid and then the ppid. */ #if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) \ - || defined(__FreeBSD_kernel__) + || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) # define KWSYSPE_PS_COMMAND "ps axo pid,ppid" # define KWSYSPE_PS_FORMAT "%d %d\n" #elif defined(__hpux) || defined(__sun__) || defined(__sgi) || defined(_AIX) \ |