]> git.tuebingen.mpg.de Git - paraslash.git/commit
server: Kill temporary SIGCHLD handler.
authorAndre Noll <maan@systemlinux.org>
Wed, 12 Oct 2011 16:13:40 +0000 (18:13 +0200)
committerAndre Noll <maan@systemlinux.org>
Sat, 15 Oct 2011 19:22:53 +0000 (21:22 +0200)
commitc29457cf28486bc455c437e300bcfd0c7582c605
tree894f07e500b4fd4c25db58f44ef35fbf31074bd5
parent7a4b6d5f19976ceac581f6dc235fcbd9b30c767f
server: Kill temporary SIGCHLD handler.

During startup, para_server sets up a temporary signal handler for
SIGCHLD in order to notice if the afs child process terminates
immediately (doing the signal setup after the fork would be too
late). This patch makes it block this signal during this period
instead. This works equally well and it fixes a weird problem on Mac
OS where the temporary SIGCHLD handler was executed although it had
been replaced by the generic signal handler of signal.c.
server.c
signal.c
signal.h