1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00
Rusty Russell 6abb637e3e lib/tevent: fix race with signals and tevent_common_add_signal
We carefully preserve the old signal handler, but we replace it before
we've set up everything; in particular, if we fail setting up the
pipe_hack we could write a NUL char to stdout (fd 0), instead of
calling the old signal handler.

Replace the signal handler as the very last thing we do.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-08-28 14:03:41 +10:00
..
2009-07-03 08:45:30 -04:00
2009-02-16 08:53:25 +01:00
2009-08-19 11:39:44 +02:00
2009-02-16 08:53:25 +01:00
2009-02-16 08:53:25 +01:00
2009-03-19 14:39:22 +01:00
2009-07-03 08:45:30 -04:00