[sudo-commits] sudo changeset 9069:f2b2251fd523

Todd C. Miller Todd.Miller at courtesan.com
Mon Oct 28 11:13:51 MDT 2013


changeset:	9069:f2b2251fd523 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/f2b2251fd523
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Mon Oct 28 11:13:45 2013 -0600

Log Message:
	Get rid of cur and pending pointers in struct sudo_event_base.  We
	now pop the first event off the active queue instead of using a
	foreach loop with deferred removal of the event.
	Add SUDO_EVQ_INSERTED and SUDO_EVQ_TIMEOUTS flags to indicate that
	the event on the event queue and timeouts queue respectively.
	No longer need to compare the timeout to {0,0} or compare the
	event's base pointer to NULL to determine queue membership.

diffstat:

 common/event.c        |  93 ++++++++++++++++++++++++++------------------------
 common/event_poll.c   |   2 +-
 common/event_select.c |   2 +-
 include/sudo_event.h  |   7 +--
 4 files changed, 54 insertions(+), 50 deletions(-)


More information about the sudo-commits mailing list