From 57b7c3bac421bae78e8297ecb5f2eca3daf16493 Mon Sep 17 00:00:00 2001 From: Rostislav Skudnov Date: Mon, 22 Jan 2018 15:57:14 +0000 Subject: [PATCH] doio, growfiles: Use standard signal name SIGCHLD instead of SIGCLD SIGCLD is synonymous with SIGCHLD, but the former is non-standard and not supported by some C libraries such as musl. Signed-off-by: Rostislav Skudnov Reviewed-by: Christoph Hellwig Signed-off-by: Eryu Guan --- ltp/doio.c | 2 +- ltp/growfiles.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ltp/doio.c b/ltp/doio.c index b9377187..939a1eab 100644 --- a/ltp/doio.c +++ b/ltp/doio.c @@ -362,7 +362,7 @@ char **argv; case SIGTSTP: case SIGSTOP: case SIGCONT: - case SIGCLD: + case SIGCHLD: case SIGBUS: case SIGSEGV: case SIGQUIT: diff --git a/ltp/growfiles.c b/ltp/growfiles.c index ad1ecdf5..951b9266 100644 --- a/ltp/growfiles.c +++ b/ltp/growfiles.c @@ -1389,7 +1389,7 @@ set_sig() #ifdef SIGRESTART case SIGRESTART: #endif /* SIGRESTART */ - case SIGCLD: + case SIGCHLD: break; default: -- 2.30.2