diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2009-04-11 11:48:07 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2009-04-11 11:48:07 +0000 |
commit | 14cb1c563d924e1fc2c8140e11e5619ba2d3d5de (patch) | |
tree | 76acc26059b6513efb8f0b402f58e58c89008b4a /usr.bin/sudo/fileops.c | |
parent | c875497f263b25f5936bba76843ce6fc283db997 (diff) |
Update to sudo 1.7.1
Diffstat (limited to 'usr.bin/sudo/fileops.c')
-rw-r--r-- | usr.bin/sudo/fileops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sudo/fileops.c b/usr.bin/sudo/fileops.c index 9f176bd4064..84b618d0815 100644 --- a/usr.bin/sudo/fileops.c +++ b/usr.bin/sudo/fileops.c @@ -54,7 +54,7 @@ #endif #ifndef lint -__unused static const char rcsid[] = "$Sudo: fileops.c,v 1.16 2008/11/09 14:13:12 millert Exp $"; +__unused static const char rcsid[] = "$Sudo: fileops.c,v 1.17 2009/03/12 00:03:04 millert Exp $"; #endif /* lint */ /* @@ -172,7 +172,7 @@ sudo_parseln(fp) /* Trim leading and trailing whitespace/newline */ len = strlen(buf); - while (len > 0 && isspace(buf[len - 1])) + while (len > 0 && isspace((unsigned char)buf[len - 1])) buf[--len] = '\0'; for (cp = buf; isblank(*cp); cp++) continue; |