* tests/test-sys_wait-h.h (test_sys_wait_macros): Check that WCOREDUMP
is defined and can be used.
2025-01-10 Collin Funk <collin.funk1@gmail.com>
+ sys_wait-h tests: Check that WCOREDUMP is defined.
+ * tests/test-sys_wait-h.h (test_sys_wait_macros): Check that WCOREDUMP
+ is defined and can be used.
+
sys_wait-h: Update comment.
* lib/sys_wait.in.h (WCOREDUMP): Remove comment about this macro being
non-standardized since it was added by POSIX.1-2024.
if (!!WIFSIGNALED (i) + !!WIFEXITED (i) + !!WIFSTOPPED (i) != 1)
return 1;
}
- i = WEXITSTATUS (i) + WSTOPSIG (i) + WTERMSIG (i);
+ i = WEXITSTATUS (i) + WSTOPSIG (i) + WTERMSIG (i) + WCOREDUMP (i);
#if 0
switch (i)