public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: console: Suppress unnecessary open_shared_console() calls.
@ 2023-03-07 2:38 Takashi Yano
0 siblings, 0 replies; only message in thread
From: Takashi Yano @ 2023-03-07 2:38 UTC (permalink / raw)
To: cygwin-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=ce979464f3b83422469ae2c0bf1d32f5160812b4
commit ce979464f3b83422469ae2c0bf1d32f5160812b4
Author: Takashi Yano <takashi.yano@nifty.ne.jp>
Date: Tue Mar 7 00:18:04 2023 +0900
Cygwin: console: Suppress unnecessary open_shared_console() calls.
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
Diff:
---
winsup/cygwin/fhandler/console.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/winsup/cygwin/fhandler/console.cc b/winsup/cygwin/fhandler/console.cc
index 23e733e94..b0252dba4 100644
--- a/winsup/cygwin/fhandler/console.cc
+++ b/winsup/cygwin/fhandler/console.cc
@@ -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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-07 2:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-07 2:38 [newlib-cygwin] Cygwin: console: Suppress unnecessary open_shared_console() calls Takashi Yano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).