diff options
author | Takashi Yano <takashi.yano@nifty.ne.jp> | 2023-03-07 00:18:04 +0900 |
---|---|---|
committer | Takashi Yano <takashi.yano@nifty.ne.jp> | 2023-03-07 10:50:59 +0900 |
commit | ce979464f3b83422469ae2c0bf1d32f5160812b4 (patch) | |
tree | b9f2a3abac2b8052441569a7778457d79711ec3a /winsup/cygwin/fhandler/console.cc | |
parent | 523985b31e5ed6318705a30525716187d758bc2f (diff) | |
download | newlib-ce979464f3b83422469ae2c0bf1d32f5160812b4.zip newlib-ce979464f3b83422469ae2c0bf1d32f5160812b4.tar.gz newlib-ce979464f3b83422469ae2c0bf1d32f5160812b4.tar.bz2 |
Cygwin: console: Suppress unnecessary open_shared_console() calls.
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
Diffstat (limited to 'winsup/cygwin/fhandler/console.cc')
-rw-r--r-- | winsup/cygwin/fhandler/console.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler/console.cc b/winsup/cygwin/fhandler/console.cc index 23e733e..b0252db 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); |