* tty.cc (tty_list::allocate): Set sid to 0 rather than -1 since -1 is an error
condition.
This commit is contained in:
parent
f3debae528
commit
71ba0d76ba
|
@ -1,3 +1,8 @@
|
||||||
|
2013-10-18 Christopher Faylor <me.cygwin2013@cgf.cx>
|
||||||
|
|
||||||
|
* tty.cc (tty_list::allocate): Set sid to 0 rather than -1 since -1 is
|
||||||
|
an error condition.
|
||||||
|
|
||||||
2013-10-16 Corinna Vinschen <corinna@vinschen.de>
|
2013-10-16 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_process.cc (format_process_ctty): Fix random content of
|
* fhandler_process.cc (format_process_ctty): Fix random content of
|
||||||
|
|
|
@ -141,7 +141,7 @@ tty_list::allocate (HANDLE& r, HANDLE& w)
|
||||||
{
|
{
|
||||||
t = ttys + i;
|
t = ttys + i;
|
||||||
t->init ();
|
t->init ();
|
||||||
t->setsid (-1);
|
t->setsid (0);
|
||||||
freetty = i;
|
freetty = i;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue