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

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

[PATCH] 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/pinfo.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc