# HG changeset patch # User Matt Johnston # Date 1092736583 0 # Node ID 6539c9480b23c67b7065132cf253c6db3c3cb30a # Parent 8f26145a09974a33a7f51cae1fe68cdd6b7eec56 fix for AIX not having WCOREDUMP diff -r 8f26145a0997 -r 6539c9480b23 svr-chansession.c --- a/svr-chansession.c Tue Aug 17 04:35:01 2004 +0000 +++ b/svr-chansession.c Tue Aug 17 09:56:23 2004 +0000 @@ -92,6 +92,8 @@ chansess->exitsignal = WTERMSIG(status); #ifndef AIX chansess->exitcore = WCOREDUMP(status); +#else + chansess->exitcore = 0; #endif } else { /* we use this to determine how pid exited */