fix for AIX not having WCOREDUMP

--HG--
extra : convert_revision : 9a728aa6db6d1105267c377fa3d5448ee5f5a4ca
This commit is contained in:
Matt Johnston 2004-08-17 09:56:23 +00:00
parent 6ec8183750
commit 954a8dce0f

View File

@ -92,6 +92,8 @@ static void sesssigchild_handler(int dummy) {
chansess->exitsignal = WTERMSIG(status); chansess->exitsignal = WTERMSIG(status);
#ifndef AIX #ifndef AIX
chansess->exitcore = WCOREDUMP(status); chansess->exitcore = WCOREDUMP(status);
#else
chansess->exitcore = 0;
#endif #endif
} else { } else {
/* we use this to determine how pid exited */ /* we use this to determine how pid exited */