From 95dc67232606af071e59ede726bfab1d0ec72f7f Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 2 Feb 2008 19:05:36 +0000 Subject: getty: don't try to detect parity on local lines (Joakim Tjernlund ) --- loginutils/getty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loginutils') diff --git a/loginutils/getty.c b/loginutils/getty.c index 31230c9a5..f033b5afd 100644 --- a/loginutils/getty.c +++ b/loginutils/getty.c @@ -435,7 +435,7 @@ static char *get_logname(char *logname, unsigned size_logname, /* 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) { -- cgit v1.2.3