changeset 115:9ffe5a6dbf3f

WCOREDUMP finally
author Matt Johnston <matt@ucc.asn.au>
date Tue, 31 Aug 2004 08:52:41 +0000
parents 2be6aa26a8c9
children 2010f4119c1a
files svr-chansession.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/svr-chansession.c	Mon Aug 30 15:02:45 2004 +0000
+++ b/svr-chansession.c	Tue Aug 31 08:52:41 2004 +0000
@@ -93,7 +93,7 @@
 				}
 				if (WIFSIGNALED(status)) {
 					chansess->exitsignal = WTERMSIG(status);
-#ifndef AIX
+#if !defined(AIX) && defined(WCOREDUMP)
 					chansess->exitcore = WCOREDUMP(status);
 #else
 					chansess->exitcore = 0;