[sudo-commits] sudo changeset 9162:e4a1fc84b893

Todd C. Miller Todd.Miller at courtesan.com
Tue Dec 10 16:24:54 MST 2013


changeset:	9162:e4a1fc84b893 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/e4a1fc84b893
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Tue Dec 10 16:23:21 2013 -0700

Log Message:
	Use strtonum() instead of atoi(), strtol() or strtoul() where possible.

diffstat:

 common/sudo_conf.c                           |  14 ++---
 common/ttysize.c                             |   8 ++-
 compat/Makefile.in                           |   3 +-
 compat/closefrom.c                           |  14 +++---
 compat/getaddrinfo.c                         |  33 ++------------
 compat/strtonum.c                            |   9 ++-
 configure                                    |   2 +-
 configure.ac                                 |   2 +-
 include/missing.h                            |  28 +++++++++++++
 plugins/sudoers/boottime.c                   |  13 +-----
 plugins/sudoers/defaults.c                   |  31 ++++++++------
 plugins/sudoers/iolog.c                      |  37 ++++++++++------
 plugins/sudoers/ldap.c                       |   7 ++-
 plugins/sudoers/match_addr.c                 |  15 ++++++-
 plugins/sudoers/policy.c                     |  53 +++++++++----------------
 plugins/sudoers/regress/logging/check_wrap.c |  14 +++++-
 plugins/sudoers/regress/parser/check_addr.c  |   5 +-
 plugins/sudoers/sudoreplay.c                 |  59 +++++++++++++++------------
 plugins/system_group/system_group.c          |  13 +++--
 src/parse_args.c                             |   7 +-
 src/sudo.c                                   |  53 ++++++++----------------
 src/ttyname.c                                |   7 ++-
 22 files changed, 227 insertions(+), 200 deletions(-)


More information about the sudo-commits mailing list