On 9/20/22 3:13 PM, Simon Marchi wrote:

I think that it could be fixed in readline by doing the following when
reinstalling the old signal handlers:

  - block signals
  - call RL_CHECK_SIGNALS
  - restore old handlers
  - unblock signals

Readline could probably get most or all of the way there by modifying
CALLBACK_READ_RETURN to call rl_check_signals/RL_CHECK_SIGNALS after
calling rl_clear_signals and before the return. What do you think?

--
``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/


Reply via email to