OSDN Git Service

* fhandler_tty.cc (fhandler_tty_master::init): Don't erase all default
authorcorinna <corinna>
Wed, 13 Jan 2010 11:06:21 +0000 (11:06 +0000)
committercorinna <corinna>
Wed, 13 Jan 2010 11:06:21 +0000 (11:06 +0000)
termios settings of slave console.

winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_tty.cc

index 3160118..044910a 100644 (file)
@@ -1,5 +1,10 @@
 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>
+
        * syscalls.cc (rename): Don't exit prematurely with EROFS when trying
        to rename an AF_LOCAL socket or when trying to replace an AF_LOCAL
        socket.
index 378e9fb..3677540 100644 (file)
@@ -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;