n_tty: honor opost flag for echoes
authorJoe Peterson <joe@skyrush.com>
Wed, 9 Sep 2009 21:03:13 +0000 (15:03 -0600)
committerLive-CD User <linux@linux.site>
Sat, 19 Sep 2009 20:13:34 +0000 (13:13 -0700)
commitee5aa7b8b98774f408d20a2f61f97a89ac66c29b
tree76a794dff90c687bb7a400f7edfa994f983d7287
parentfe1ae7fdd2ee603f2d95f04e09a68f7f79045127
n_tty: honor opost flag for echoes

Fixes the following bug:

      http://bugs.linuxbase.org/show_bug.cgi?id=2692

Causes processing of echoed characters (output from the echo buffer) to
honor the O_OPOST flag, which is consistent with the old behavior.

Note that this and the next patch ("n_tty: move echoctl check and
clean up logic") were verified together by the bug reporters, and
the test now passes.

Signed-off-by: Joe Peterson <joe@skyrush.com>
Cc: Linux Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/n_tty.c