[sudo-commits] sudo changeset 13619:3ca20dfdb44c

Todd C. Miller Todd.Miller at sudo.ws
Sun Oct 31 10:31:54 MDT 2021


changeset:	13619:3ca20dfdb44c in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/3ca20dfdb44c
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Sun Oct 31 09:27:34 2021 -0600

Log Message:
	parse_gentime: use timegm() to generate time since the epoch
	The timegm() function is non-standard but widely available.
	Provide an implementation for those systems that lack it.
	Bug #1006

diffstat:

 MANIFEST                    |   2 +-
 config.h.in                 |   3 +
 configure                   |  26 +++++++++++
 configure.ac                |   4 +
 include/sudo_compat.h       |   3 +
 lib/util/timegm.c           |  98 +++++++++++++++++++++++++++++++++++++++++++++
 plugins/sudoers/Makefile.in |  16 +------
 plugins/sudoers/gentime.c   |  15 ++++--
 plugins/sudoers/gmtoff.c    |  83 --------------------------------------
 plugins/sudoers/parse.h     |   3 -
 scripts/mkdep.pl            |   2 +-
 11 files changed, 148 insertions(+), 107 deletions(-)



More information about the sudo-commits mailing list