On 8/22/25 2:14 PM, penguin p wrote:
/Resending I forgot to cc bug bash

Chet
if a SIGINT has been received, cleanup code will be executed that leaves
whatever readline was doing in a state that it cannot continue from.

I’m not familiar with C. So in essence, what bash was doing is like this:
1. Ctrl + R
2. readline() doing something
3. Ctrl + C + ESC
4. Bash: whoa I got a SIGINT, gotta cleanup and free everything!
5. readline(): oops everything’s gone I shit myself
6. Segfault

No. This is all internal to readline.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to