+2003-04-18 Christopher Faylor <cgf@redhat.com>
+
+ * fhandler_tty.cc (fhandler_tty_slave::open): Allocate a console
+ whenever a pty is allocated.
+
2003-04-18 Christopher Faylor <cgf@redhat.com>
* Makefile.in: Use ${nostdlib} variable.
set_open_status ();
if (!output_done_event)
{
- fhandler_console::open_fhs++;
+ if (fhandler_console::open_fhs++ == 0)
+ {
+ BOOL b = AllocConsole ();
+ termios_printf ("%d = AllocConsole ()", b);
+ }
termios_printf ("incremented open_fhs %d", fhandler_console::open_fhs);
}
termios_printf ("tty%d opened", ttynum);