svn commit: trunk/busybox/loginutils

vda at busybox.net vda at busybox.net
Sat Feb 2 19:05:36 UTC 2008


Author: vda
Date: 2008-02-02 11:05:36 -0800 (Sat, 02 Feb 2008)
New Revision: 20935

Log:
getty: don't try to detect parity on local lines
(Joakim Tjernlund <Joakim.Tjernlund at transmode.se>)



Modified:
   trunk/busybox/loginutils/getty.c


Changeset:
Modified: trunk/busybox/loginutils/getty.c
===================================================================
--- trunk/busybox/loginutils/getty.c	2008-02-02 18:54:58 UTC (rev 20934)
+++ trunk/busybox/loginutils/getty.c	2008-02-02 19:05:36 UTC (rev 20935)
@@ -435,7 +435,7 @@
 
 			/* Do parity bit handling. */
 			ascval = c & 0177;
-			if (c != ascval) {       /* "parity" bit on ? */
+			if (!(op->flags & F_LOCAL) && (c != ascval)) {       /* "parity" bit on ? */
 				bits = 1;
 				mask = 1;
 				while (mask & 0177) {




More information about the busybox-cvs mailing list