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:
authorEgor Duda <deo@logos-m.ru>2001-03-12 23:39:40 +0300
committerEgor Duda <deo@logos-m.ru>2001-03-12 23:39:40 +0300
commit79409dc0a2624e5f601e6e9d7f736fcd8a8e1c99 (patch)
tree81ae535562874832b65690d2ae897d2acd422a6d
parent17bd7f5a378501cd9338cf691942aeaedcd8f750 (diff)
* fhandler.h (fhandler_termios::fhandler_termios): Enable fixup
after fork. * fhandler_console.cc (fhandler_console::fhandler_console): Fixup after fork is now enabled in the base class constructor.
-rw-r--r--winsup/cygwin/ChangeLog7
-rw-r--r--winsup/cygwin/fhandler.h2
-rw-r--r--winsup/cygwin/fhandler_console.cc1
3 files changed, 8 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index f3789a91c..718becad7 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,10 @@
+2001-03-12 Egor Duda <deo@logos-m.ru>
+
+ * fhandler.h (fhandler_termios::fhandler_termios): Enable fixup
+ after fork.
+ * fhandler_console.cc (fhandler_console::fhandler_console): Fixup
+ after fork is now enabled in the base class constructor.
+
Mon Mar 12 11:19:41 2001 Christopher Faylor <cgf@cygnus.com>
* mkvers.sh: Include config.h so that DEBUGGING is correctly defined.
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 1553f0ef5..155e2a8d4 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -568,7 +568,7 @@ public:
fhandler_termios (DWORD dev, const char *name = 0, int unit = 0) :
fhandler_base (dev, name, unit)
{
- // nothing to do
+ set_need_fork_fixup ();
}
HANDLE& get_output_handle () { return output_handle; }
int line_edit (const char *rptr, int nread, int always_accept = 0);
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc
index ca73ab651..935b7bff0 100644
--- a/winsup/cygwin/fhandler_console.cc
+++ b/winsup/cygwin/fhandler_console.cc
@@ -804,7 +804,6 @@ fhandler_console::fhandler_console (const char *name) :
if (PRIMARYLANGID (LOWORD (GetKeyboardLayout (0))) == LANG_ENGLISH)
meta_mask |= RIGHT_ALT_PRESSED;
- set_need_fork_fixup ();
}
#define FOREGROUND_ATTR_MASK (FOREGROUND_RED | FOREGROUND_GREEN | \