From 5114e17172276cf5a2f889f8037ae58c4cb05bb9 Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Mon, 30 Dec 2024 10:45:14 -0500 Subject: [PATCH] fix issue with failed history expansion changing the history list offset; fix some tests to avoid problems with error messages that differ between systems; fix issue with readline rl_abort not clearing any pending command to execute Conflict:only the modified content of lib/readline/util.c is rounded. --- lib/readline/util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/readline/util.c b/lib/readline/util.c index 1576b55..e869ed1 100644 --- a/lib/readline/util.c +++ b/lib/readline/util.c @@ -111,6 +111,7 @@ _rl_abort_internal (void) RL_UNSETSTATE (RL_STATE_MULTIKEY); /* XXX */ rl_last_func = (rl_command_func_t *)NULL; + _rl_command_to_execute = 0; _rl_longjmp (_rl_top_level, 1); return (0); -- 2.33.0