svn commit: trunk/busybox/loginutils

aldot at busybox.net aldot at busybox.net
Fri Jan 9 14:49:13 UTC 2009


Author: aldot
Date: 2009-01-09 14:49:11 +0000 (Fri, 09 Jan 2009)
New Revision: 24734

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


Modified:
   trunk/busybox/loginutils/getty.c


Changeset:
Modified: trunk/busybox/loginutils/getty.c
===================================================================
--- trunk/busybox/loginutils/getty.c	2009-01-09 13:35:16 UTC (rev 24733)
+++ trunk/busybox/loginutils/getty.c	2009-01-09 14:49:11 UTC (rev 24734)
@@ -473,7 +473,7 @@
 			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);



More information about the busybox-cvs mailing list