* fhandler_console.cc (get_tty_stuff): Don't initialize shared memory console

area if it is already initialized.
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Augment debugging info.
This commit is contained in:
Christopher Faylor
2001-08-07 05:15:59 +00:00
parent 96a3f4ae68
commit 300624d4f3
3 changed files with 15 additions and 4 deletions

View File

@@ -65,7 +65,7 @@ fhandler_termios::tcinit (tty_min *this_tc, int force)
int
fhandler_termios::tcsetpgrp (const pid_t pgid)
{
termios_printf ("pgid %d, sid %d, tsid %d", pgid,
termios_printf ("tty %d pgid %d, sid %d, tsid %d", tc->ntty, pgid,
myself->sid, tc->getsid ());
if (myself->sid != tc->getsid ())
{