bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58440: 27.2; Exit Code on SIGINT is Zero, But shouldn't Be


From: Lars Ingebrigtsen
Subject: bug#58440: 27.2; Exit Code on SIGINT is Zero, But shouldn't Be
Date: Wed, 12 Oct 2022 13:22:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Morten Welinder <mwelinder@gmail.com> writes:

> 1. Create the following perl script named "ttt":

Or an easier way to reproduce the issue:

./src/emacs -Q; echo $?

and then "kill -INT" the process and observe that it echoes "0".

This issue is still present in Emacs 29.

It does seem like a bug -- I'd expect a non-zero exit code in this case.
Eli, what do you think?

(And...  I'm not sure where the action taken for the signal really is
after poking at the

  maybe_fatal_sig (SIGINT);

code paths a few minutes.)







reply via email to

[Prev in Thread] Current Thread [Next in Thread]