set of portability changes from lint/asan/ubsan

This commit is contained in:
Chet Ramey
2023-01-07 13:18:20 -05:00
parent 2e725f7346
commit 8fd8cd8f7b
35 changed files with 162 additions and 106 deletions
+2 -1
View File
@@ -887,8 +887,9 @@ clear_hostname_list (void)
static char **
hostnames_matching (const char *text)
{
register int i, len, nmatch, rsize;
int i, nmatch;
char **result;
size_t rsize, len;
if (hostname_list_initialized == 0)
initialize_hostname_list ();