Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-01-13 14:06:21 +0300
committerCorinna Vinschen <corinna@vinschen.de>2010-01-13 14:06:21 +0300
commitc013520152d4b624ad9e88e3f8a4cec45ec15848 (patch)
tree4d5b0251b8e32bd515c1d933e3c1f56f8c1e1203 /winsup/cygwin
parent4bcdec727623c4f1775ba8fceb69a83b021657e1 (diff)
* fhandler_tty.cc (fhandler_tty_master::init): Don't erase all default
termios settings of slave console.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/fhandler_tty.cc6
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,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.
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;