* winsup.api/resethand.c (main): Remove core dump flag from exit status.
This commit is contained in:
@ -31,6 +31,7 @@ main (int argc, char **argv)
|
||||
*i = 9;
|
||||
exit (0x42);
|
||||
}
|
||||
status &= ~0x80; // remove core dump flag
|
||||
fprintf (stderr, "pid %d exited with status %p\n", pid, (void *) status);
|
||||
exit (argc == 1 ? !(status == SIGSEGV) : !(status == SIGTERM));
|
||||
}
|
||||
|
Reference in New Issue
Block a user