diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-01-09 14:49:11 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-01-09 14:49:11 +0000 |
commit | e44a4e316d28d7435e4d0ae56f002f8764bbfa0b (patch) | |
tree | 6f47777eef57430d53cde02b98a9147204ac86ad | |
parent | 870ccd7212488014aef62fcb1640d5d1faeb07f9 (diff) | |
download | busybox-w32-e44a4e316d28d7435e4d0ae56f002f8764bbfa0b.tar.gz busybox-w32-e44a4e316d28d7435e4d0ae56f002f8764bbfa0b.tar.bz2 busybox-w32-e44a4e316d28d7435e4d0ae56f002f8764bbfa0b.zip |
- isascii() is obsolescent in SUSv4 and furthermore looks redundant in this spot
-rw-r--r-- | loginutils/getty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/getty.c b/loginutils/getty.c index 8bae0df45..ba5b0d6c8 100644 --- a/loginutils/getty.c +++ b/loginutils/getty.c | |||
@@ -473,7 +473,7 @@ static char *get_logname(char *logname, unsigned size_logname, | |||
473 | case CTL('D'): | 473 | case CTL('D'): |
474 | exit(EXIT_SUCCESS); | 474 | exit(EXIT_SUCCESS); |
475 | default: | 475 | default: |
476 | if (!isascii(ascval) || !isprint(ascval)) { | 476 | if (!isprint(ascval)) { |
477 | /* ignore garbage characters */ | 477 | /* ignore garbage characters */ |
478 | } else if ((int)(bp - logname) >= size_logname - 1) { | 478 | } else if ((int)(bp - logname) >= size_logname - 1) { |
479 | bb_error_msg_and_die("%s: input overrun", op->tty); | 479 | bb_error_msg_and_die("%s: input overrun", op->tty); |