]> granicus.if.org Git - libevent/commit
Use current event set rather than current pending change when deciding whether to...
authorMike Smellie <mike.j.smellie@gmail.com>
Mon, 19 Jul 2010 02:18:31 +0000 (14:18 +1200)
committerNick Mathewson <nickm@torproject.org>
Thu, 16 Dec 2010 18:21:25 +0000 (13:21 -0500)
commit04ba27ebf252746a3fdb79422cccd36f1af4be82
treea5534c26aaf49d82c6a67cadf24765f1a8349acd
parent2570ae50d3ecd6c9ba5304c20b8f204627162243
Use current event set rather than current pending change when deciding whether to no-op a del

This alters event_changelist_del to quash deletion of events that
didn't exist in the first place.

As far as I can see, the add,delete, dispatch case described in the
original comment will never happen.  The recorded change is a single
operation, not a queue.  This seems to leave actions to delete
events that never existed as the real targets for no-oping
evmap.c