diff options
author | Denis Vlasenko | 2007-01-12 21:03:07 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-01-12 21:03:07 +0000 |
commit | 21b080daa8c180a43d10d6b3dee47134ef21e581 (patch) | |
tree | 6da923cf99dc7243c38cf89a418d5ba0d5334df9 /coreutils/stty.c | |
parent | f8abc100cc84c370f7c595846c74ab46456faccb (diff) | |
download | busybox-21b080daa8c180a43d10d6b3dee47134ef21e581.zip busybox-21b080daa8c180a43d10d6b3dee47134ef21e581.tar.gz |
stty: fix bug reported by Paul Albrecht <albrecht@rdi1.com> -
stty -echo didn't work. Introduced by me :(
Diffstat (limited to 'coreutils/stty.c')
-rw-r--r-- | coreutils/stty.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/coreutils/stty.c b/coreutils/stty.c index 93919b3..c09c7c7 100644 --- a/coreutils/stty.c +++ b/coreutils/stty.c @@ -1188,6 +1188,7 @@ end_option: mp = find_mode(arg+1); if (mp) { set_mode(mp, 1 /* reversed */, &mode); + require_set_attr = 1; } /* It is an option - already parsed. Skip it */ continue; @@ -1196,6 +1197,7 @@ end_option: mp = find_mode(arg); if (mp) { set_mode(mp, 0 /* non-reversed */, &mode); + require_set_attr = 1; continue; } @@ -1203,6 +1205,7 @@ end_option: if (cp) { ++k; set_control_char_or_die(cp, argnext, &mode); + require_set_attr = 1; continue; } |