From be4ac227842530d484659f2db683453366326d8b Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 28 Aug 2009 12:08:47 +0930 Subject: lib/tevent: handle tevent_common_add_signal on different event contexts. I don't know if this is a problem in real life. The code assumes there's only one tevent_context; all signals will notify the first event context. That's counter-intuitive if you ever use more than one, and there's nothing else in this code which prevents it AFAICT. Signed-off-by: Rusty Russell --- lib/tevent/tevent_internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/tevent/tevent_internal.h') diff --git a/lib/tevent/tevent_internal.h b/lib/tevent/tevent_internal.h index 513ca1c732..4e3b7b5718 100644 --- a/lib/tevent/tevent_internal.h +++ b/lib/tevent/tevent_internal.h @@ -240,6 +240,7 @@ struct tevent_context { /* pipe hack used with signal handlers */ struct tevent_fd *pipe_fde; + int pipe_fds[2]; /* debugging operations */ struct tevent_debug_ops debug_ops; -- cgit