diff svr-chansession.c @ 115:9ffe5a6dbf3f

WCOREDUMP finally
author Matt Johnston <matt@ucc.asn.au>
date Tue, 31 Aug 2004 08:52:41 +0000
parents 2e9d1f29c50f
children 154c8d5a6d1e
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;