On 3/21/19 11:46 AM, Pedro Alves wrote:
> Hi,
>
> I'm looking at readline's signal handling code, and I noticed that
> in the current master, the _rl_interrupt_immediately variable is
> never set anymore.
>
> I see that _rl_interrupt_immediately used to be set around
> rl_attempted_completion_function in complete.c in older releases,
> but that signal handling was replaced with the safer
> RL_SIG_RECEIVED check in the mainline code.
>
> Is there a reason the _rl_interrupt_immediately variable still
> exists, then? Could rl_signal_handler be simplified, like:
It will go in the next version. I have been giving it time to allow
applications that use it (incorrectly), but you are correct that the
mainline code no longer uses it.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/
_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline