summaryrefslogtreecommitdiff
path: root/lib/tdb/tdb.exports
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-08-28 12:04:22 +0930
committerAndrew Tridgell <tridge@samba.org>2009-08-28 14:03:41 +1000
commit6abb637e3e0d23635fdbbb91c163731b325d696d (patch)
tree0cf9548dbed2a26f7f4a395b243e6f359de4d49b /lib/tdb/tdb.exports
parent398d0c2929026fccb3409316720a4dcad225ab05 (diff)
downloadsamba-6abb637e3e0d23635fdbbb91c163731b325d696d.tar.gz
samba-6abb637e3e0d23635fdbbb91c163731b325d696d.tar.bz2
samba-6abb637e3e0d23635fdbbb91c163731b325d696d.zip
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>
Diffstat (limited to 'lib/tdb/tdb.exports')
0 files changed, 0 insertions, 0 deletions