[sudo-commits] sudo changeset 12438:f7f633de570a

Todd C. Miller Todd.Miller at sudo.ws
Mon May 18 09:01:34 MDT 2020


changeset:	12438:f7f633de570a in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/f7f633de570a
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon May 18 07:59:24 2020 -0600

Log Message:
	Include string.h unconditionally and only use strings.h for strn?casecmp()
	In the pre-POSIX days BSD had strings.h, not string.h.
	Now strings.h is only used for non-ANSI string functions.

diffstat:

 lib/iolog/iolog_fileio.c                                  |    7 +-
 lib/iolog/iolog_json.c                                    |    7 +-
 lib/iolog/iolog_path.c                                    |    7 +-
 lib/iolog/iolog_util.c                                    |    7 +-
 lib/iolog/regress/host_port/host_port_test.c              |    7 +-
 lib/iolog/regress/iolog_json/check_iolog_json.c           |    7 +-
 lib/iolog/regress/iolog_path/check_iolog_path.c           |    7 +-
 lib/iolog/regress/iolog_util/check_iolog_util.c           |    7 +-
 lib/util/digest_gcrypt.c                                  |    7 +-
 lib/util/event.c                                          |    7 +-
 lib/util/event_select.c                                   |    7 +-
 lib/util/fnmatch.c                                        |    7 +-
 lib/util/getaddrinfo.c                                    |    7 +-
 lib/util/getcwd.c                                         |    7 +-
 lib/util/getdelim.c                                       |    7 +-
 lib/util/getgrouplist.c                                   |    7 +-
 lib/util/getopt_long.c                                    |    7 +-
 lib/util/glob.c                                           |    7 +-
 lib/util/inet_pton.c                                      |    7 +-
 lib/util/json.c                                           |    7 +-
 lib/util/key_val.c                                        |    7 +-
 lib/util/lbuf.c                                           |    7 +-
 lib/util/locking.c                                        |    7 +-
 lib/util/mkdir_parents.c                                  |    7 +-
 lib/util/mktemp.c                                         |    7 +-
 lib/util/parseln.c                                        |    7 +-
 lib/util/progname.c                                       |    7 +-
 lib/util/pw_dup.c                                         |    7 +-
 lib/util/regress/fnmatch/fnm_test.c                       |    7 +-
 lib/util/regress/getdelim/getdelim_test.c                 |    7 +-
 lib/util/regress/getgrouplist/getgrouplist_test.c         |    7 +-
 lib/util/regress/glob/globtest.c                          |    7 +-
 lib/util/regress/mktemp/mktemp_test.c                     |    7 +-
 lib/util/regress/parse_gids/parse_gids_test.c             |    7 +-
 lib/util/regress/progname/progname_test.c                 |    7 +-
 lib/util/regress/strsplit/strsplit_test.c                 |    7 +-
 lib/util/regress/sudo_conf/conf_test.c                    |    7 +-
 lib/util/regress/sudo_parseln/parseln_test.c              |    7 +-
 lib/util/regress/tailq/hltq_test.c                        |    7 +-
 lib/util/regress/vsyslog/vsyslog_test.c                   |    7 +-
 lib/util/secure_path.c                                    |    7 +-
 lib/util/sha2.c                                           |    8 +-
 lib/util/sig2str.c                                        |    7 +-
 lib/util/snprintf.c                                       |    7 +-
 lib/util/str2sig.c                                        |    4 +-
 lib/util/strndup.c                                        |    7 +-
 lib/util/strtobool.c                                      |    5 +-
 lib/util/sudo_conf.c                                      |    4 +-
 lib/util/sudo_debug.c                                     |    4 +-
 lib/util/sudo_dso.c                                       |    7 +-
 lib/util/term.c                                           |    7 +-
 lib/util/ttyname_dev.c                                    |    7 +-
 lib/util/vsyslog.c                                        |    7 +-
 plugins/audit_json/audit_json.c                           |    7 +-
 plugins/group_file/getgrent.c                             |    7 +-
 plugins/group_file/group_file.c                           |    4 +-
 plugins/python/sudo_python_debug.c                        |    5 +-
 plugins/sample/sample_plugin.c                            |    4 +-
 plugins/sample_approval/sample_approval.c                 |    7 +-
 plugins/sudoers/alias.c                                   |    7 +-
 plugins/sudoers/auth/afs.c                                |    7 +-
 plugins/sudoers/auth/aix_auth.c                           |    7 +-
 plugins/sudoers/auth/bsdauth.c                            |    7 +-
 plugins/sudoers/auth/dce.c                                |    7 +-
 plugins/sudoers/auth/fwtk.c                               |    7 +-
 plugins/sudoers/auth/kerb5.c                              |    7 +-
 plugins/sudoers/auth/pam.c                                |    7 +-
 plugins/sudoers/auth/passwd.c                             |    7 +-
 plugins/sudoers/auth/rfc1938.c                            |    7 +-
 plugins/sudoers/auth/secureware.c                         |    7 +-
 plugins/sudoers/auth/securid5.c                           |    7 +-
 plugins/sudoers/auth/sia.c                                |    7 +-
 plugins/sudoers/auth/sudo_auth.c                          |    7 +-
 plugins/sudoers/boottime.c                                |    7 +-
 plugins/sudoers/check.c                                   |    7 +-
 plugins/sudoers/cvtsudoers.c                              |    4 +-
 plugins/sudoers/cvtsudoers_json.c                         |    7 +-
 plugins/sudoers/cvtsudoers_ldif.c                         |    4 +-
 plugins/sudoers/cvtsudoers_pwutil.c                       |    4 +-
 plugins/sudoers/defaults.c                                |    7 +-
 plugins/sudoers/editor.c                                  |    7 +-
 plugins/sudoers/env.c                                     |    7 +-
 plugins/sudoers/env_pattern.c                             |    7 +-
 plugins/sudoers/filedigest.c                              |    7 +-
 plugins/sudoers/find_path.c                               |    7 +-
 plugins/sudoers/fmtsudoers.c                              |    7 +-
 plugins/sudoers/gentime.c                                 |    7 +-
 plugins/sudoers/getdate.c                                 |   91 ++---
 plugins/sudoers/getdate.y                                 |    7 +-
 plugins/sudoers/getspwuid.c                               |    7 +-
 plugins/sudoers/goodpath.c                                |    7 +-
 plugins/sudoers/gram.c                                    |  215 ++++++-------
 plugins/sudoers/gram.y                                    |    7 +-
 plugins/sudoers/group_plugin.c                            |    7 +-
 plugins/sudoers/interfaces.c                              |    7 +-
 plugins/sudoers/iolog.c                                   |    7 +-
 plugins/sudoers/iolog_path_escapes.c                      |    7 +-
 plugins/sudoers/ldap.c                                    |    4 +-
 plugins/sudoers/ldap_conf.c                               |    4 +-
 plugins/sudoers/ldap_util.c                               |    7 +-
 plugins/sudoers/locale.c                                  |    7 +-
 plugins/sudoers/logging.c                                 |    7 +-
 plugins/sudoers/logwrap.c                                 |    7 +-
 plugins/sudoers/match.c                                   |    4 +-
 plugins/sudoers/match_addr.c                              |    7 +-
 plugins/sudoers/match_command.c                           |    7 +-
 plugins/sudoers/match_digest.c                            |    7 +-
 plugins/sudoers/parse.c                                   |    7 +-
 plugins/sudoers/parse_ldif.c                              |    4 +-
 plugins/sudoers/policy.c                                  |    7 +-
 plugins/sudoers/prompt.c                                  |    7 +-
 plugins/sudoers/pwutil.c                                  |    7 +-
 plugins/sudoers/pwutil_impl.c                             |    7 +-
 plugins/sudoers/rcstr.c                                   |    7 +-
 plugins/sudoers/regress/check_symbols/check_symbols.c     |    7 +-
 plugins/sudoers/regress/env_match/check_env_pattern.c     |    7 +-
 plugins/sudoers/regress/iolog_plugin/check_iolog_plugin.c |    7 +-
 plugins/sudoers/regress/logging/check_wrap.c              |    7 +-
 plugins/sudoers/regress/parser/check_addr.c               |    7 +-
 plugins/sudoers/regress/parser/check_base64.c             |    7 +-
 plugins/sudoers/regress/parser/check_digest.c             |    7 +-
 plugins/sudoers/regress/parser/check_fill.c               |    7 +-
 plugins/sudoers/regress/parser/check_gentime.c            |    7 +-
 plugins/sudoers/regress/parser/check_hexchar.c            |    7 +-
 plugins/sudoers/set_perms.c                               |    7 +-
 plugins/sudoers/sssd.c                                    |    4 +-
 plugins/sudoers/starttime.c                               |    7 +-
 plugins/sudoers/strlist.c                                 |    7 +-
 plugins/sudoers/stubs.c                                   |    7 +-
 plugins/sudoers/sudo_nss.c                                |    4 +-
 plugins/sudoers/sudoers.c                                 |    7 +-
 plugins/sudoers/sudoers_debug.c                           |    7 +-
 plugins/sudoers/sudoreplay.c                              |    7 +-
 plugins/sudoers/testsudoers.c                             |    4 +-
 plugins/sudoers/timeout.c                                 |    7 +-
 plugins/sudoers/timestamp.c                               |    7 +-
 plugins/sudoers/toke.c                                    |  169 +++++-----
 plugins/sudoers/toke.l                                    |    7 +-
 plugins/sudoers/toke_util.c                               |    7 +-
 plugins/sudoers/tsdump.c                                  |    7 +-
 plugins/sudoers/tsgetgrpw.c                               |    7 +-
 plugins/sudoers/visudo.c                                  |    7 +-
 plugins/system_group/system_group.c                       |    4 +-
 src/conversation.c                                        |    7 +-
 src/env_hooks.c                                           |    7 +-
 src/exec.c                                                |    7 +-
 src/exec_common.c                                         |    7 +-
 src/exec_monitor.c                                        |    7 +-
 src/exec_nopty.c                                          |    7 +-
 src/exec_pty.c                                            |    7 +-
 src/get_pty.c                                             |    7 +-
 src/hooks.c                                               |    7 +-
 src/limits.c                                              |    7 +-
 src/load_plugins.c                                        |    7 +-
 src/net_ifs.c                                             |    7 +-
 src/parse_args.c                                          |    7 +-
 src/preserve_fds.c                                        |    7 +-
 src/regress/noexec/check_noexec.c                         |    7 +-
 src/regress/ttyname/check_ttyname.c                       |    7 +-
 src/signal.c                                              |    8 +-
 src/sudo.c                                                |    7 +-
 src/sudo_edit.c                                           |    7 +-
 src/sudo_noexec.c                                         |    7 +-
 src/tcsetpgrp_nobg.c                                      |    8 +-
 src/tgetpass.c                                            |    7 +-
 src/ttyname.c                                             |    7 +-
 src/utmp.c                                                |    7 +-
 167 files changed, 394 insertions(+), 1180 deletions(-)


More information about the sudo-commits mailing list