Re: Segfault when running alias if PROMPT_COMMAND is not empty

2025-07-07 Thread Stan Marsh
>From: Carl Johnson >Subject: Re: Segfault when running alias if PROMPT_COMMAND is not empty >Date: Mon, 7 Jul 2025 22:18:30 +0300 >> Thanks for the report. In the general case, evaluating the value of a shell >> variable as a command should save and restore the parser state. In this >> edg

Re: Segfault when running alias if PROMPT_COMMAND is not empty

2025-07-07 Thread Carl Johnson
> Thanks for the report. In the general case, evaluating the value of a shell > variable as a command should save and restore the parser state. In this > edge case, though, it's not necessary because PROMPT_COMMAND is only > evaluated before parsing a command. The attached patch should fix it. Tha

Re: autoconf broken when forcing -Werror -pedantic

2025-07-07 Thread Collin Funk
Martin D Kealey writes: >> Martin D Kealey writes: >> > it's SLOW. > > > Any comments on this point? > > It seems like the main causes of inadequate speed are: > (1) Lack of parallelism. > (2) A monolithic probe-test-result cache structure, that's either "all > valid" or "all discarded". Sure,

Re: readline C-g bugs

2025-07-07 Thread Chet Ramey
On 7/5/25 10:16 AM, A4-Tacks wrote: Bash Version: 5.2 Patch Level: 37 Release Status: release Description: C-g should only print out the results, not complete them It's not clear what you have C-g bound to; it's not bound to anything like this in the default readline bindings. -- ``The

Re: Segfault when running alias if PROMPT_COMMAND is not empty

2025-07-07 Thread Chet Ramey
On 7/5/25 2:57 PM, Carl Johnson wrote: Bash Version: 5.3 Patch Level: 0 Release Status: release Description: When alias definition contains the 'unalias' builtin with the alias's name as its argument with a newline anywhere after the builtin invocation, running the alias when PROMPT_COMMAND is