doio, growfiles: Use standard signal name SIGCHLD instead of SIGCLD
authorRostislav Skudnov <rostislav@tuxera.com>
Mon, 22 Jan 2018 15:57:14 +0000 (15:57 +0000)
committerEryu Guan <eguan@redhat.com>
Wed, 24 Jan 2018 03:50:08 +0000 (11:50 +0800)
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 <rostislav@tuxera.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <eguan@redhat.com>
ltp/doio.c
ltp/growfiles.c

index b93771875650559a0896dc624568d8519cc1219c..939a1eabf3eedf582879622e4c858e198305c8bc 100644 (file)
@@ -362,7 +362,7 @@ char        **argv;
                case SIGTSTP:
                case SIGSTOP:
                case SIGCONT:
-               case SIGCLD:
+               case SIGCHLD:
                case SIGBUS:
                case SIGSEGV:
                case SIGQUIT:
index ad1ecdf5df3fdf07c27d35ab2f9b3e5d1179b515..951b92665081a886ecc8bbaa77adfe1943145df1 100644 (file)
@@ -1389,7 +1389,7 @@ set_sig()
 #ifdef SIGRESTART
                case SIGRESTART:
 #endif /* SIGRESTART */
-                case SIGCLD:
+                case SIGCHLD:
                     break;
 
                 default: