n_tty: Fix handling of control characters and continuations
authorJoe Peterson <joe@skyrush.com>
Fri, 2 Jan 2009 13:43:25 +0000 (13:43 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Jan 2009 18:19:37 +0000 (10:19 -0800)
commita59c0d6f14315a3f300f6f3786137213727e4c47
treea6cccef67a4ed016242f67a9a6136b7bc2a72fff
parentfc6f6238226e6d1248e1967eae2bf556eaf3ac17
n_tty: Fix handling of control characters and continuations

Fix process_output_block to detect continuation characters correctly
and to handle control characters even when O_OLCUC is enabled.  Make
similar change to do_output_char().

Signed-off-by: Joe Peterson <joe@skyrush.com>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/n_tty.c