mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-18 23:12:15 +08:00
Cygwin: console: Suppress unnecessary open_shared_console() calls.
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
This commit is contained in:
parent
523985b31e
commit
ce979464f3
@ -645,7 +645,7 @@ scan_console (HWND hw, LPARAM lp)
|
||||
{
|
||||
*p->shared_console_info = cs;
|
||||
CloseHandle (h);
|
||||
return TRUE;
|
||||
return FALSE;
|
||||
}
|
||||
UnmapViewOfFile ((void *) cs);
|
||||
CloseHandle (h);
|
||||
|
Loading…
x
Reference in New Issue
Block a user