diff options
Diffstat (limited to 'winsup/testsuite/winsup.api/resethand.c')
-rw-r--r-- | winsup/testsuite/winsup.api/resethand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/testsuite/winsup.api/resethand.c b/winsup/testsuite/winsup.api/resethand.c index b2010cfe5..2d1ccabc9 100644 --- a/winsup/testsuite/winsup.api/resethand.c +++ b/winsup/testsuite/winsup.api/resethand.c @@ -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)); } |