diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1999-05-13 15:48:18 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1999-05-13 15:48:18 +0000 |
| commit | ba3f6b8c4d3b6cca243184e724444635846b8b84 (patch) | |
| tree | 809d8ec082a9c3cd30a7acbab8a66637fae7222a /gnu/usr.bin | |
| parent | 3290dc22279ae9ee0cced91a51f662747b60d18d (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin')
| -rw-r--r-- | gnu/usr.bin/man/man/man.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/man/man/man.c b/gnu/usr.bin/man/man/man.c index 6407939c54c26..72a9fd589ae4d 100644 --- a/gnu/usr.bin/man/man/man.c +++ b/gnu/usr.bin/man/man/man.c @@ -106,8 +106,8 @@ static char args[] = "M:P:S:adfhkp:w?"; #ifdef SETREUID uid_t ruid; uid_t euid; -uid_t rgid; -uid_t egid; +gid_t rgid; +gid_t egid; #endif int @@ -469,7 +469,7 @@ is_section (name) for (vs = section_list; *vs != NULL; vs++) if ((strcmp (*vs, name) == 0) - || (isdigit (name[0]) && strlen(name) == 1)) + || (isdigit ((unsigned char)name[0]) && strlen(name) == 1)) return strdup (name); return NULL; @@ -612,7 +612,7 @@ glob_for_file (path, section, name, cat) gf = glob_filename (pathname); - if ((gf == (char **) -1 || *gf == NULL) && isdigit (*section)) + if ((gf == (char **) -1 || *gf == NULL) && isdigit ((unsigned char)*section)) { if (cat) snprintf (pathname, sizeof(pathname), "%s/cat%s/%s.%c*", path, section, name, *section); @@ -621,7 +621,7 @@ glob_for_file (path, section, name, cat) gf = glob_filename (pathname); } - if ((gf == (char **) -1 || *gf == NULL) && isdigit (*section)) + if ((gf == (char **) -1 || *gf == NULL) && isdigit ((unsigned char)*section)) { if (cat) snprintf (pathname, sizeof(pathname), "%s/cat%s/%s.0*", path, section, name); |
