]> git.etc.gen.nz Git - spong.git/commit
child handler overwritten at send message
authorYukimasa TAKANO <takano@users.sourceforge.net>
Wed, 19 Dec 2007 21:19:43 +0000 (10:19 +1300)
committerAndrew Ruthven <andrew@cerberus.etc.gen.nz>
Wed, 19 Dec 2007 21:19:43 +0000 (10:19 +1300)
commit660977c24872a859139bb0a18b0475be40f27b1b
tree6061e4d257745e07385ab249a1e881ba1354bf22
parent91057ce837c00edbfd72f7116905cd98f4f918ec
child handler overwritten at send message

Some child process call message_user() with SIG{CHLD} = 'IGNORE',
but overwrite to chld_handler() at finish sending message. That is wrong.
This patch allows to keep SIG{CHLD} to 'IGNORE' after sending message.
src/spong-server.pl