summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1999-05-13 15:48:18 +0000
committerache <ache@FreeBSD.org>1999-05-13 15:48:18 +0000
commite737f5837f80d790851fb51f1164a8d9d1fd4699 (patch)
tree146663c4315590b1076d32a7b18b654e06390c85 /gnu
parentd053d4314f1ab13086c3ec4d8c0a56d6e1745986 (diff)
downloadFreeBSD-src-e737f5837f80d790851fb51f1164a8d9d1fd4699.zip
FreeBSD-src-e737f5837f80d790851fb51f1164a8d9d1fd4699.tar.gz
fix typo uid_t -> gid_t
add unsigned char cast to ctype macros
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/man/man/man.c10
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 6407939..72a9fd5 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);
OpenPOWER on IntegriCloud