On Feb 24 23:24, Takashi Yano wrote:
> - Previously, if non-cygwin app exits by Ctrl-C, exit code was
> 0x7f00. With this patch, the exit code will be 0x0002,
> which means process exited by SIGINT.
> ---
> winsup/cygwin/exceptions.cc | 6 +-
> winsup/cygwin/pinfo.cc | 3 +++
>
- Previously, if non-cygwin app exits by Ctrl-C, exit code was
0x7f00. With this patch, the exit code will be 0x0002,
which means process exited by SIGINT.
---
winsup/cygwin/exceptions.cc | 6 +-
winsup/cygwin/pinfo.cc | 3 +++
2 files changed, 8 insertions(+), 1 deletion(-)
On Thu, 24 Feb 2022 22:43:35 +0900
Takashi Yano wrote:
> - Previously, if non-cygwin app exits by Ctrl-C, exit code was
> 0x7f00. With this patch, the exit code will be 0x0002,
> which means process exited by SIGINT.
> ---
> winsup/cygwin/pinfo.cc | 3 +++
> 1 file changed, 3 insertion
- Previously, if non-cygwin app exits by Ctrl-C, exit code was
0x7f00. With this patch, the exit code will be 0x0002,
which means process exited by SIGINT.
---
winsup/cygwin/pinfo.cc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
- The recent change by the commit "Cygwin: console: Redesign handling
of special keys." breaks the handling of CTRL_BREAK_EVENT. The login
shell in console exits on Ctrl-Break key. This patch fixes the issue.
---
winsup/cygwin/exceptions.cc | 13 ++---
winsup/cygwin/fhandler_cons