From 954a8dce0fdd5f4d16eeb5436e4a8659e91e1cbd Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Tue, 17 Aug 2004 09:56:23 +0000 Subject: fix for AIX not having WCOREDUMP --HG-- extra : convert_revision : 9a728aa6db6d1105267c377fa3d5448ee5f5a4ca --- svr-chansession.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'svr-chansession.c') diff --git a/svr-chansession.c b/svr-chansession.c index 01612f4..ffc50de 100644 --- a/svr-chansession.c +++ b/svr-chansession.c @@ -92,6 +92,8 @@ static void sesssigchild_handler(int dummy) { chansess->exitsignal = WTERMSIG(status); #ifndef AIX chansess->exitcore = WCOREDUMP(status); +#else + chansess->exitcore = 0; #endif } else { /* we use this to determine how pid exited */ -- cgit v1.2.3