Re: [PATCH v2] Cygwin: pinfo: Fix exit code when non-cygwin app exits by Ctrl-C.

2022-02-25 Thread Takashi Yano
On Thu, 24 Feb 2022 23:24:29 +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/exceptions.cc | 6 +- > winsup/cygwin/pinfo

Re: [PATCH v2] Cygwin: pinfo: Fix exit code when non-cygwin app exits by Ctrl-C.

2022-02-24 Thread Corinna Vinschen
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 +++ >

[PATCH v2] Cygwin: pinfo: Fix exit code when non-cygwin app exits by Ctrl-C.

2022-02-24 Thread Takashi Yano
- 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(-)