[Top][All Lists]

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

Re: [Bug-readline] Does _rl_interrupt_immediately still need to exist?

From: Chet Ramey
Subject: Re: [Bug-readline] Does _rl_interrupt_immediately still need to exist?
Date: Thu, 21 Mar 2019 13:18:14 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.5.3

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.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/

reply via email to

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