* mkpasswd.c (current_user): Don't use HOMEDRIVE/HOMEPATH to generate

user's homedir.

	* mkgroup.c: Accommodate ctype changes.
	* mkpasswd.c: Ditto.
	* setfacl.c: Ditto.
	* ssp.c: Ditto.
This commit is contained in:
Corinna Vinschen
2009-05-06 11:54:24 +00:00
parent 764d88e4a7
commit 05e6f7b2b9
5 changed files with 25 additions and 30 deletions

View File

@@ -1,6 +1,6 @@
/* setfacl.c
Copyright 2000, 2001, 2002, 2003 Red Hat Inc.
Copyright 2000, 2001, 2002, 2003, 2006, 2008, 2009 Red Hat Inc.
Written by Corinna Vinschen <vinschen@redhat.com>
@@ -51,7 +51,7 @@ typedef enum {
mode_t getperm (char *in)
{
if (isdigit (*in) && !in[1])
if (isdigit ((unsigned char) *in) && !in[1])
{
int i = atoi (in);
if (i < 0 || i > 7)
@@ -127,7 +127,7 @@ getaclentry (action_t action, char *c, aclent_t *ace)
if (action == Delete)
return FALSE;
}
else if (isdigit (*c))
else if (isdigit ((unsigned char) *c))
{
char *c3;