Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | From fcc0cf15a309947103a0695b8a1f4865b820eb5c Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 13 Jul 2017 23:26:03 -0700 |
| 4 | Subject: [PATCH 3/5] replace use of SIGCLD with SIGCHLD |
| 5 | |
| 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 7 | --- |
| 8 | common/main.c | 2 +- |
| 9 | doc/xfsdump.html | 2 +- |
| 10 | 2 files changed, 2 insertions(+), 2 deletions(-) |
| 11 | |
| 12 | diff --git a/common/main.c b/common/main.c |
| 13 | index 3848499..faa66ee 100644 |
| 14 | --- a/common/main.c |
| 15 | +++ b/common/main.c |
| 16 | @@ -2225,7 +2225,7 @@ static sig_printmap_t sig_printmap[ ] = { |
| 17 | {SIGTERM, "SIGTERM"}, |
| 18 | {SIGUSR1, "SIGUSR1"}, |
| 19 | {SIGUSR2, "SIGUSR2"}, |
| 20 | - {SIGCLD, "SIGCLD"}, |
| 21 | + {SIGCHLD, "SIGCHLD"}, |
| 22 | {SIGPWR, "SIGPWR"}, |
| 23 | {SIGURG, "SIGURG"}, |
| 24 | {SIGPOLL, "SIGPOLL"}, |
| 25 | diff --git a/doc/xfsdump.html b/doc/xfsdump.html |
| 26 | index f85128f..d96f037 100644 |
| 27 | --- a/doc/xfsdump.html |
| 28 | +++ b/doc/xfsdump.html |
| 29 | @@ -334,7 +334,7 @@ the ring buffer. It ignores signals and does not terminate until it |
| 30 | receives a RING_OP_DIE message. It then exits 0. |
| 31 | <p> |
| 32 | The main process sleeps waiting for any of its children to die |
| 33 | -(ie. waiting for a SIGCLD). All children that it cares about (stream |
| 34 | +(ie. waiting for a SIGCHLD). All children that it cares about (stream |
| 35 | managers and ring buffer slaves) are registered through the child |
| 36 | manager abstraction. When a child dies wait status and other info is |
| 37 | stored with its entry in the child manager. main() ignores the deaths |
| 38 | -- |
| 39 | 2.13.2 |
| 40 | |