[PATCH v2] Cygwin: pinfo: Fix exit code when non-cygwin app exits by Ctrl-C.
Takashi Yano
takashi.yano@nifty.ne.jp
Sat Feb 26 06:47:36 GMT 2022
On Thu, 24 Feb 2022 23:24:29 +0900
Takashi Yano wrote:
> - Previously, if non-cygwin app exits by Ctrl-C, exit code was
> 0x00007f00. With this patch, the exit code will be 0x00000002,
> which means process exited by SIGINT.
> ---
> winsup/cygwin/exceptions.cc | 6 +++++-
> winsup/cygwin/pinfo.cc | 3 +++
> 2 files changed, 8 insertions(+), 1 deletion(-)
I am sorry, but I pushed not v2 but v1 patch by mistake.
I will submit new additional patch to cygwin-patches@cygwin.com.
Please check it again.
Thanks.
--
Takashi Yano <takashi.yano@nifty.ne.jp>
More information about the Cygwin-patches
mailing list