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

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Feb 24 19:46:02 GMT 2022


On Feb 24 23:24, 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(-)

Looks good, thanks!


Corinna


More information about the Cygwin-patches mailing list