]> granicus.if.org Git - strace/commit
Always define WCOREDUMP
authorEugene Syromyatnikov <evgsyr@gmail.com>
Wed, 3 Oct 2018 08:31:30 +0000 (10:31 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 17 Dec 2018 19:19:23 +0000 (19:19 +0000)
commitd1a0f700f1224218c0f276b7ed8f9f163cc8e905
tree36047f5eb8b33e89ca5f0057b05c40013066cfa4
parent692dbd2c3d2052025e3d4b121d94689f24458651
Always define WCOREDUMP

wait.c does it already, now strace.c also does.

* wait.h: New file.
* Makefile.am (strace_SOURCES): Add it.
* strace.c: Replace <sys/wait.h> with "wait.h".
[!WCOREDUMP]: Remove.
* wait.c: Replace <sys/wait.h> with "wait.h".
[!WCOREFLAG] (WCOREFLAG), [!WCOREDUMP] (WCOREDUMP): Move to wait.h,
rework.
[!W_STOPCODE] (W_STOPCODE), [!W_EXITCODE] (W_EXITCODE),
[!W_CONTINUED] (W_CONTINUED): Move to wait.h.

Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
Makefile.am
strace.c
wait.c
wait.h [new file with mode: 0644]