1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/lib/tevent
Rusty Russell 455d44d961 lib/tevent: a cleaner fix for be4ac22784 segv
Revert 23abcd2318 and fix logic bug.

The current code loops through the event contexts, when it sees a different
one, it notifies the current one (ev) and updates ev to point to the new one.

This is dumb, because:
(1) ev starts as NULL, so this code crashes, and
(2) The final context will not be notified.

The correct fix for this is to update ev to the new one, then notify it.
Volker's fix works because we currently always have one event context.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-09-22 10:50:28 +02:00
..
script tevent:mksyms: fix spelling... 2009-09-11 15:39:52 +02:00
autogen.sh Stop using SWIG for ldb Python bindings. 2008-12-20 19:54:13 +01:00
build_macros.m4 Fix standalone configure scripts 2009-01-30 01:02:23 -05:00
config.guess Update copies of config.guess and config.sub. 2009-05-16 04:03:12 +02:00
config.sub Update copies of config.guess and config.sub. 2009-05-16 04:03:12 +02:00
configure.ac tevent: change version to 0.9.8 after some critical bugs have been fixed 2009-09-04 13:01:06 +02:00
install-sh Add missing files for standalone build. 2008-12-20 18:06:31 +01:00
libtalloc.m4 s4:lib/events: move to toplevel directory as lib/tevent/ 2008-12-17 13:31:28 +01:00
libtevent.m4 Add exports file and abi checker for tevent 2009-06-15 16:31:13 -04:00
Makefile.in Add exports file and abi checker for tevent 2009-06-15 16:31:13 -04:00
pkg.m4 s4:lib/events: move to toplevel directory as lib/tevent/ 2008-12-17 13:31:28 +01:00
release-script.sh Add release script for tevent 2009-09-04 18:20:29 -04:00
rules.mk Add exports file and abi checker for tevent 2009-06-15 16:31:13 -04:00
samba.m4 tevent: Don't install headers, since we don't install a shared lib 2009-05-16 01:54:10 +02:00
testsuite.c tevent: try to fix the build on QNX qnx18 6.4.1 it doesn't have SA_RESTART defined 2009-07-16 11:41:28 +02:00
tevent_debug.c lib/tevent: change to LGPLv3+ 2009-02-16 08:53:25 +01:00
tevent_epoll.c tevent: add support for immediate events 2009-03-17 19:59:00 +01:00
tevent_fd.c tevent: fix a comment 2009-08-19 11:39:44 +02:00
tevent_immediate.c tevent: add support for immediate events 2009-03-17 19:59:00 +01:00
tevent_internal.h lib/tevent: handle tevent_common_add_signal on different event contexts. 2009-08-28 14:09:09 +10:00
tevent_liboop.c lib/tevent: change to LGPLv3+ 2009-02-16 08:53:25 +01:00
tevent_queue.c tevent: use an immediate event as trigger for tevent_queue 2009-03-17 19:59:09 +01:00
tevent_req.c tevent: add tevent_req_cancel() infrastructure 2009-08-17 09:25:44 +02:00
tevent_select.c tevent: add support for immediate events 2009-03-17 19:59:00 +01:00
tevent_signal.c lib/tevent: a cleaner fix for be4ac22784 segv 2009-09-22 10:50:28 +02:00
tevent_standard.c tevent: add support for immediate events 2009-03-17 19:59:00 +01:00
tevent_timed.c tevent: Rename ev_timeval* functions to tevent_timeval, export them. 2009-02-17 09:19:31 +01:00
tevent_util.c lib/tevent: change to LGPLv3+ 2009-02-16 08:53:25 +01:00
tevent_util.h tevent: Define TALLOC_FREE() if it's not defined yet, to allow building 2009-05-16 20:31:59 +02:00
tevent_wakeup.c tevent: add tevent_wakeup_send/recv() 2009-02-18 10:31:36 +01:00
tevent.c lib/tevent: close pipe_fds on event_context destruction 2009-08-28 14:10:22 +10:00
tevent.exports tevent:exports: add _tevent_req_cancel and tevent_req_set_cancel_fn. 2009-09-11 15:31:28 +02:00
tevent.h tevent: add tevent_req_cancel() infrastructure 2009-08-17 09:25:44 +02:00
tevent.mk tevent: add abi_checks to "make test" 2009-09-11 15:31:25 +02:00
tevent.pc.in Add dependency to talloc in tevent pc file. 2009-01-06 15:53:50 +01:00
tevent.signatures tevent:signatures: add _tevent_req_cancel and tevent_req_set_cancel_fn 2009-09-11 15:31:29 +02:00