lib: util: Signal handling - change CatchChild() and CatchChildLeaveStatus() to retur...
commit1dda86f32c9f1ad5c906a85596d062149693235e
authorJeremy Allison <jra@samba.org>
Thu, 9 Oct 2014 20:41:05 +0000 (9 13:41 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 13 Oct 2014 19:20:07 +0000 (13 21:20 +0200)
tree4c4128868533edb6913b01928e2f6a938333e4f3
parent6642684cc01545e59613ee0845c1ee2dfffee478
lib: util: Signal handling - change CatchChild() and CatchChildLeaveStatus() to return the previous handler.

Bug #10831 - SIGCLD Signal handler not correctly reinstalled on old library code use - smbrun etc.

https://bugzilla.samba.org/show_bug.cgi?id=10831

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
lib/util/samba_util.h
lib/util/signal.c