* dtable.cc (dtable::vfork_parent_restore): Avoid double close of ctty when
ctty == ctty_on_hold.
This commit is contained in:
parent
85b6d63ba4
commit
42f5993f2d
@ -1,3 +1,8 @@
|
|||||||
|
2004-01-17 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* dtable.cc (dtable::vfork_parent_restore): Avoid double close of ctty
|
||||||
|
when ctty == ctty_on_hold.
|
||||||
|
|
||||||
2004-01-16 Christopher Faylor <cgf@redhat.com>
|
2004-01-16 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* fhandler_console.cc (fhandler_console::close): Remove obsolete test
|
* fhandler_console.cc (fhandler_console::close): Remove obsolete test
|
||||||
|
@ -758,9 +758,11 @@ dtable::vfork_parent_restore ()
|
|||||||
cfree (deleteme);
|
cfree (deleteme);
|
||||||
unlock ();
|
unlock ();
|
||||||
|
|
||||||
cygheap->ctty = ctty_on_hold; // revert
|
if (cygheap->ctty != ctty_on_hold)
|
||||||
if (cygheap->ctty)
|
{
|
||||||
cygheap->ctty->close (); // Undo previous bump of this archetype
|
cygheap->ctty = ctty_on_hold; // revert
|
||||||
|
cygheap->ctty->close (); // Undo previous bump of this archetype
|
||||||
|
}
|
||||||
cygheap->ctty_on_hold = NULL;
|
cygheap->ctty_on_hold = NULL;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user