* fhandler_tty.cc (fhandler_tty_master::init): Don't erase all default

termios settings of slave console.
This commit is contained in:
Corinna Vinschen 2010-01-13 11:06:21 +00:00
parent 4bcdec7276
commit c013520152
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2010-01-13 Corinna Vinschen <corinna@vinschen.de>
* fhandler_tty.cc (fhandler_tty_master::init): Don't erase all default
termios settings of slave console.
2010-01-13 Corinna Vinschen <corinna@vinschen.de> 2010-01-13 Corinna Vinschen <corinna@vinschen.de>
* syscalls.cc (rename): Don't exit prematurely with EROFS when trying * syscalls.cc (rename): Don't exit prematurely with EROFS when trying

View File

@ -1,7 +1,7 @@
/* fhandler_tty.cc /* fhandler_tty.cc
Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 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. This file is part of Cygwin.
@ -65,10 +65,6 @@ fhandler_tty_master::init ()
return -1; return -1;
} }
termios ti;
memset (&ti, 0, sizeof (ti));
console->tcsetattr (0, &ti);
if (!setup (false)) if (!setup (false))
return 1; return 1;