]> Git Repo - linux.git/commit
n_tty: Fix apparent order of echoed output
authorPeter Hurley <[email protected]>
Mon, 9 Dec 2013 23:06:07 +0000 (18:06 -0500)
committerGreg Kroah-Hartman <[email protected]>
Tue, 17 Dec 2013 17:56:42 +0000 (09:56 -0800)
commit1075a6e2dc7e2a96efc417b98dd98f57fdae985d
treecbaa6300789cc54c8377b2f1a921ac61af947d18
parentd24c195f90cb1adb178d26d84c722d4b9e551e05
n_tty: Fix apparent order of echoed output

With block processing of echoed output, observed output order is still
required. Push completed echoes and echo commands prior to output.

Introduce echo_mark echo buffer index, which tracks completed echo
commands; ie., those submitted via commit_echoes but which may not
have been committed. Ensure that completed echoes are output prior
to subsequent terminal writes in process_echoes().

Fixes newline/prompt output order in cooked mode shell.

Cc: <[email protected]> # 3.12.x : 39434ab n_tty: Fix missing newline echo
Reported-by: Karl Dahlke <[email protected]>
Reported-by: Mikulas Patocka <[email protected]>
Signed-off-by: Peter Hurley <[email protected]>
Tested-by: Karl Dahlke <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/tty/n_tty.c
This page took 0.055042 seconds and 4 git commands to generate.