From c013520152d4b624ad9e88e3f8a4cec45ec15848 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 13 Jan 2010 11:06:21 +0000 Subject: [PATCH] * fhandler_tty.cc (fhandler_tty_master::init): Don't erase all default termios settings of slave console. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/fhandler_tty.cc | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 31601182c..044910aac 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2010-01-13 Corinna Vinschen + + * fhandler_tty.cc (fhandler_tty_master::init): Don't erase all default + termios settings of slave console. + 2010-01-13 Corinna Vinschen * syscalls.cc (rename): Don't exit prematurely with EROFS when trying diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index 378e9fba4..36775401f 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -1,7 +1,7 @@ /* fhandler_tty.cc Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, - 2006, 2007, 2008, 2009 Red Hat, Inc. + 2006, 2007, 2008, 2009, 2010 Red Hat, Inc. This file is part of Cygwin. @@ -65,10 +65,6 @@ fhandler_tty_master::init () return -1; } - termios ti; - memset (&ti, 0, sizeof (ti)); - console->tcsetattr (0, &ti); - if (!setup (false)) return 1;