projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add SIGCHILD
[spider.git]
/
src
/
client.c
diff --git
a/src/client.c
b/src/client.c
index a3147d551dd4a91bd74dec75519e7131e2740193..29c8bf5cd0f5b654cf6411e776449339d55e08ac 100644
(file)
--- a/
src/client.c
+++ b/
src/client.c
@@
-901,7
+901,13
@@
main(int argc, char *argv[])
#ifdef SIGPWR
signal(SIGPWR, terminate);
#endif
+#ifdef SIGCLD
signal(SIGCLD, reaper);
+#else
+ #ifdef SIGCHILD
+ signal(SIGCHILD, reaper);
+ #endif
+#endif
/* init a few things */
chain_init(&echobase);