WCOREDUMP finally

--HG--
extra : convert_revision : 12aa4fdb328febedfd3fd50d1dae783d8a0dab14
This commit is contained in:
Matt Johnston 2004-08-31 08:52:41 +00:00
parent 15fb479e94
commit cb0657bdf3

View File

@ -93,7 +93,7 @@ static void sesssigchild_handler(int UNUSED(dummy)) {
}
if (WIFSIGNALED(status)) {
chansess->exitsignal = WTERMSIG(status);
#ifndef AIX
#if !defined(AIX) && defined(WCOREDUMP)
chansess->exitcore = WCOREDUMP(status);
#else
chansess->exitcore = 0;