diff options
author | Joe Peterson <joe@skyrush.com> | 2009-09-09 15:03:47 -0600 |
---|---|---|
committer | Live-CD User <linux@linux.site> | 2009-09-19 13:13:34 -0700 |
commit | 62b263585bb5005d44a764c90d80f9c4bb8188c1 (patch) | |
tree | 18c71c8f09672ac097da5ea5a87e1c40a42e95b7 /include/linux/tty.h | |
parent | ee5aa7b8b98774f408d20a2f61f97a89ac66c29b (diff) | |
download | lwn-62b263585bb5005d44a764c90d80f9c4bb8188c1.tar.gz lwn-62b263585bb5005d44a764c90d80f9c4bb8188c1.zip |
n_tty: move echoctl check and clean up logic
Check L_ECHOCTL before insertting a character in the echo buffer
(rather than as the buffer is processed), to be more consistent with
when all other L_ flags are checked. Also cleaned up the related logic.
Note that this and the previous patch ("n_tty: honor opost flag for echoes")
were verified together by the reporters of the bug that patch addresses
(http://bugs.linuxbase.org/show_bug.cgi?id=2692), and the test now passes.
Signed-off-by: Joe Peterson <joe@skyrush.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/tty.h')
0 files changed, 0 insertions, 0 deletions