[rtems commit] termios: Fix output flush

Ralf Corsepius ralf.corsepius at rtems.org
Thu Dec 13 16:45:39 UTC 2012


On 12/13/2012 05:31 PM, Sebastian Huber wrote:
> Module:    rtems
> Branch:    master
> Commit:    da02535ac50b7d3a67820441f603326ac23af0b8
> Changeset: http://git.rtems.org/rtems/commit/?id=da02535ac50b7d3a67820441f603326ac23af0b8
>
> Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
> Date:      Thu Dec 13 17:34:58 2012 +0100
>
> termios: Fix output flush
>
> ---
>
>   cpukit/libcsupport/src/termios.c |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c
> index 16dd754..cd127f8 100644
> --- a/cpukit/libcsupport/src/termios.c
> +++ b/cpukit/libcsupport/src/termios.c
> @@ -362,6 +362,7 @@ flushOutput (struct rtems_termios_tty *tty)
>     rtems_interrupt_disable (level);
>     tty->rawOutBuf.Tail = 0;
>     tty->rawOutBuf.Head = 0;
> +  tty->rawOutBufState = rob_idle;
>     rtems_interrupt_enable (level);
>   }

What does this patch do? Your commit log doesn't tell us and I do not 
understand.

I am asking, because RTEMS termios is one of the oldest parts in RTEMS, 
which likely has more testing than any other parts of RTEMS.

Ralf





More information about the devel mailing list