[PATCH] Cygwin: console: Fix a bug that 64th console cannot be handled.

2024-02-15 Thread Takashi Yano
Fixes: 930e553da8e9 ("Cygwin: console: Unify EnumWindows() callback functions."); Signed-off-by: Takashi Yano --- winsup/cygwin/devices.cc| 2 +- winsup/cygwin/devices.in| 2 +- winsup/cygwin/fhandler/console.cc | 8 +++- winsup/cygwin/local_includes/fha

[PATCH] Cygwin: console: Fix a bug that cannot handle consoles more than 32.

2024-02-15 Thread Takashi Yano
Fixes: 3721a756b0d8 ("Cygwin: console: Make the console accessible from other terminals.") Signed-off-by: Takashi Yano --- winsup/cygwin/devices.cc| 2 +- winsup/cygwin/devices.in| 2 +- winsup/cygwin/release/3.5.1 | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/wi