[sudo-commits] sudo changeset 14967:2d7fcd66f7e7

Todd C. Miller Todd.Miller at sudo.ws
Wed Aug 9 13:45:54 MDT 2023


changeset:	14967:2d7fcd66f7e7 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/2d7fcd66f7e7
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Wed Aug 09 13:22:12 2023 -0600

Log Message:
	Use int, not short for events in the event API.

	This fixes some -Wconversion warnings and fixes an inconsistency
	between the libsudo_util event API and the plugin event API.  The
	actual struct internals still use shorts to avoid changing the ABI.

diffstat:

 include/sudo_event.h    |   9 ++++++---
 lib/util/event.c        |  29 ++++++++++++++++++++++++-----
 lib/util/event_poll.c   |   4 ++--
 lib/util/event_select.c |  18 +++++++++---------
 lib/util/util.exp.in    |   3 +++
 5 files changed, 44 insertions(+), 19 deletions(-)



More information about the sudo-commits mailing list