* cygheap.cc (init_cygheap::manage_console_count): Don't call FreeConsole on
9x/Me.
This commit is contained in:
parent
2df1714182
commit
d4c8d84da6
@ -1,3 +1,8 @@
|
||||
2005-12-21 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* cygheap.cc (init_cygheap::manage_console_count): Don't call
|
||||
FreeConsole on 9x/Me.
|
||||
|
||||
2005-12-21 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* (fhandler_disk_file::fchown): Remove execute bits from "sensible"
|
||||
|
@ -96,7 +96,8 @@ init_cygheap::manage_console_count (const char *something, int amount, bool avoi
|
||||
console_count += amount;
|
||||
debug_printf ("%s: console_count %d, amount %d, %s, avoid_freeing_console %d",
|
||||
something, console_count, amount, myctty (), avoid_freeing_console);
|
||||
if (!avoid_freeing_console && amount <= 0 && !console_count && myself->ctty == -1)
|
||||
if (wincap.pty_needs_alloc_console () && !avoid_freeing_console && amount <= 0
|
||||
&& !console_count && myself->ctty == -1)
|
||||
{
|
||||
FreeConsole ();
|
||||
debug_printf ("freed console");
|
||||
|
Loading…
Reference in New Issue
Block a user