- isascii() is obsolescent in SUSv4 and furthermore looks redundant in this spot

This commit is contained in:
Bernhard Reutner-Fischer 2009-01-09 14:49:11 +00:00
parent 870ccd7212
commit e44a4e316d

View File

@ -473,7 +473,7 @@ static char *get_logname(char *logname, unsigned size_logname,
case CTL('D'):
exit(EXIT_SUCCESS);
default:
if (!isascii(ascval) || !isprint(ascval)) {
if (!isprint(ascval)) {
/* ignore garbage characters */
} else if ((int)(bp - logname) >= size_logname - 1) {
bb_error_msg_and_die("%s: input overrun", op->tty);