* 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.
This commit is contained in:
Egor Duda 2001-03-12 20:39:40 +00:00
parent 17bd7f5a37
commit 79409dc0a2
3 changed files with 8 additions and 2 deletions

View File

@ -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.

View File

@ -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);

View File

@ -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 | \