lib: util: Signal handling - change CatchChild() and CatchChildLeaveStatus() to retur...
commit78deb22b08eaf70beada870107f9a07ab9142999
authorJeremy Allison <jra@samba.org>
Thu, 9 Oct 2014 20:41:05 +0000 (9 13:41 -0700)
committerKarolin Seeger <kseeger@samba.org>
Sun, 19 Oct 2014 19:05:07 +0000 (19 21:05 +0200)
treee86b77b5640286f779c3857f259eaf8dd8dd0764
parent429ddb19e7b36e535b9c59664999d52bee99806f
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