From f37e220e862843a933d5fac1e446b1b9fceacfa1 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 10 Mar 2008 16:48:56 +0000 Subject: [PATCH] * fhandler_console.cc (fhandler_console::write_normal): Don't print chars marked as ERR chars. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/fhandler_console.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index a28d22efe..d1697badf 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2008-03-10 Corinna Vinschen + + * fhandler_console.cc (fhandler_console::write_normal): Don't print + chars marked as ERR chars. + 2008-03-10 Corinna Vinschen * fhandler.h (dev_console::con_to_str): Declare returning DWORD. diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc index c83b3915b..2b8b45703 100644 --- a/winsup/cygwin/fhandler_console.cc +++ b/winsup/cygwin/fhandler_console.cc @@ -1579,7 +1579,7 @@ fhandler_console::write_normal (const unsigned char *src, cursor_set (false, 0, y); break; case ERR: - WriteFile (get_output_handle (), found, 1, &done, 0); + /* Don't print chars marked as ERR chars. */ break; case TAB: cursor_get (&x, &y);