projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30eb319
)
getty: don't try to detect parity on local lines
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 2 Feb 2008 19:05:36 +0000
(19:05 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 2 Feb 2008 19:05:36 +0000
(19:05 -0000)
(Joakim Tjernlund <Joakim.Tjernlund at transmode.se>)
loginutils/getty.c
patch
|
blob
|
history
diff --git
a/loginutils/getty.c
b/loginutils/getty.c
index 31230c9a57a1405ae0b17c11763c3d32c53242d2..f033b5afdf924df14cb392cb868d4713e4c7ee0e 100644
(file)
--- 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) {