← Commit list

e44a4e316

Bernhard Reutner-Fischer
Bernhard Reutner-Fischer
2009-01-09
FAILED Duration: 31s

Subject

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

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

loginutils/getty.c+1 -1
@@ -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);