From 505f60f94c079a2b1e1dae3c211ee67369386e86 Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Mon, 4 Apr 2022 09:40:49 -0400 Subject: [PATCH] fix for history-search-backward after previous-history clearing the undo list --- CWRU/CWRU.chlog | 14 ++++++++++++++ aclocal.m4 | 3 ++- configure | 6 ++++-- lib/readline/histlib.h | 3 ++- lib/readline/history.c | 7 +++++++ lib/readline/misc.c | 8 +++++++- lib/readline/readline.c | 2 +- lib/readline/search.c | 41 ++++++++++++++++++++++++++++++++-------- po/hr.gmo | Bin 177636 -> 177635 bytes po/hr.po | 20 ++++++++++---------- tests/RUN-ONE-TEST | 2 +- 11 files changed, 81 insertions(+), 25 deletions(-) diff --git a/CWRU/CWRU.chlog b/CWRU/CWRU.chlog index a416b14f..5372efdc 100644 --- a/CWRU/CWRU.chlog +++ b/CWRU/CWRU.chlog @@ -3424,3 +3424,17 @@ arrayfunc.c - array_value_internal: fix typo and set estatep->type to ARRAY_INDEXED for indexed arrays + 3/31 + ---- +lib/readline/{history.c,histlib.h} + - _hs_at_end_of_history: convenience function to tell whether or not the + current history position is at the end of the history list + + 4/1 + --- +lib/readline/search.c + - make_history_line_current: don't free rl_undo_list if it is equal to + _rl_saved_line_for_history->data, since we will need to restore it later + if we got it from a history entry. Fixes issue dating back to 7/2021 and + changes to _rl_free_saved_line_for_history, current issue reported by + Andreas Schwab diff --git a/aclocal.m4 b/aclocal.m4 index 15d91433..cc97bd4b 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -990,7 +990,8 @@ elif test $bash_cv_termcap_lib = libc; then TERMCAP_LIB= TERMCAP_DEP= else -TERMCAP_LIB=-lcurses +# we assume ncurses is installed somewhere the linker can find it +TERMCAP_LIB=-lncurses TERMCAP_DEP= fi ]) diff --git a/configure b/configure index e9200378..2cdf0596 100755 --- a/configure +++ b/configure @@ -5960,7 +5960,8 @@ elif test $bash_cv_termcap_lib = libc; then TERMCAP_LIB= TERMCAP_DEP= else -TERMCAP_LIB=-lcurses +# we assume ncurses is installed somewhere the linker can find it +TERMCAP_LIB=-lncurses TERMCAP_DEP= fi @@ -21546,7 +21547,8 @@ elif test $bash_cv_termcap_lib = libc; then TERMCAP_LIB= TERMCAP_DEP= else -TERMCAP_LIB=-lcurses +# we assume ncurses is installed somewhere the linker can find it +TERMCAP_LIB=-lncurses TERMCAP_DEP= fi diff --git a/lib/readline/histlib.h b/lib/readline/histlib.h index adaf1e50..29fc4d2e 100644 --- a/lib/readline/histlib.h +++ b/lib/readline/histlib.h @@ -1,6 +1,6 @@ /* histlib.h -- internal definitions for the history library. */ -/* Copyright (C) 1989-2009,2021 Free Software Foundation, Inc. +/* Copyright (C) 1989-2009,2021-2022 Free Software Foundation, Inc. This file contains the GNU History Library (History), a set of routines for managing the text of previously typed lines. @@ -84,6 +84,7 @@ extern int _hs_history_patsearch (const char *, int, int); /* history.c */ extern void _hs_replace_history_data (int, histdata_t *, histdata_t *); +extern int _hs_at_end_of_history (void); /* histfile.c */ extern void _hs_append_history_line (int, const char *); diff --git a/lib/readline/history.c b/lib/readline/history.c index a3c26c6e..2daa362d 100644 --- a/lib/readline/history.c +++ b/lib/readline/history.c @@ -165,6 +165,13 @@ history_set_pos (int pos) history_offset = pos; return (1); } + +/* Are we currently at the end of the history list? */ +int +_hs_at_end_of_history (void) +{ + return (the_history == 0 || history_offset == history_length); +} /* Return the current history array. The caller has to be careful, since this is the actual array of data, and could be bashed or made corrupt easily. diff --git a/lib/readline/misc.c b/lib/readline/misc.c index 96d37b8d..2a75847d 100644 --- a/lib/readline/misc.c +++ b/lib/readline/misc.c @@ -388,17 +388,23 @@ _rl_free_saved_history_line (void) { if (rl_undo_list && rl_undo_list == (UNDO_LIST *)_rl_saved_line_for_history->data) rl_undo_list = 0; + /* Have to free this separately because _rl_free_history entry can't: it doesn't know whether or not this has application data. Only the callers that know this is _rl_saved_line_for_history can know that it's an undo list. */ +#if defined (HISTORY_SEARCH_SETS_HISTPOS) if (_rl_saved_line_for_history->data) { orig = rl_undo_list; - rl_undo_list = _rl_saved_line_for_history->data; + rl_undo_list = (UNDO_LIST *)_rl_saved_line_for_history->data; rl_free_undo_list (); rl_undo_list = orig; } +#else + if (_rl_saved_line_for_history->data) + _rl_free_undo_list ((UNDO_LIST *)_rl_saved_line_for_history->data); +#endif _rl_free_history_entry (_rl_saved_line_for_history); _rl_saved_line_for_history = (HIST_ENTRY *)NULL; } diff --git a/lib/readline/readline.c b/lib/readline/readline.c index 71984505..8fad893c 100644 --- a/lib/readline/readline.c +++ b/lib/readline/readline.c @@ -492,7 +492,7 @@ readline_internal_teardown (int eof) /* We don't want to do this if we executed functions that call history_set_pos to set the history offset to the line containing the non-incremental search string. */ -#if HISTORY_SEARCH_SETS_HISTPOS +#if defined (HISTORY_SEARCH_SETS_HISTPOS) if (entry && rl_undo_list && _rl_history_search_pos != where_history ()) #else if (entry && rl_undo_list) diff --git a/lib/readline/search.c b/lib/readline/search.c index 898ffe7b..ce278fd9 100644 --- a/lib/readline/search.c +++ b/lib/readline/search.c @@ -84,6 +84,15 @@ static int _rl_nsearch_dispatch (_rl_search_cxt *, int); static void make_history_line_current (HIST_ENTRY *entry) { +#if !defined (HISTORY_SEARCH_SETS_HISTPOS) + UNDO_LIST *xlist; + + xlist = _rl_saved_line_for_history ? (UNDO_LIST *)_rl_saved_line_for_history->data : 0; + /* At this point, rl_undo_list points to a private search string list. */ + if (rl_undo_list && rl_undo_list != (UNDO_LIST *)entry->data && rl_undo_list != xlist) + rl_free_undo_list (); +#endif + /* Now we create a new undo list with a single insert for this text. WE DON'T CHANGE THE ORIGINAL HISTORY ENTRY UNDO LIST */ _rl_replace_text (entry->line, 0, rl_end); @@ -97,7 +106,16 @@ make_history_line_current (HIST_ENTRY *entry) rl_free_undo_list (); #endif - /* XXX - free the saved line for history here? */ +#if !defined (HISTORY_SEARCH_SETS_HISTPOS) + /* This will need to free the saved undo list associated with the original + (pre-search) line buffer. + XXX - look at _rl_free_saved_history_line and consider calling it if + rl_undo_list != xlist (or calling rl_free_undo list directly on + _rl_saved_line_for_history->data) */ + if (_rl_saved_line_for_history) + _rl_free_history_entry (_rl_saved_line_for_history); + _rl_saved_line_for_history = (HIST_ENTRY *)NULL; +#endif } /* Search the history list for STRING starting at absolute history position @@ -186,8 +204,10 @@ noninc_dosearch (char *string, int dir, int flags) history_set_pos (oldpos); make_history_line_current (entry); +#if !defined (HISTORY_SEARCH_SETS_HISTPOS) /* make_history_line_current used to do this. */ _rl_free_saved_history_line (); +#endif if (_rl_enable_active_region && ((flags & SF_PATTERN) == 0) && ind > 0 && ind < rl_end) { @@ -517,16 +537,21 @@ static int rl_history_search_internal (int count, int dir) { HIST_ENTRY *temp; + int ret, oldpos, newcol; UNDO_LIST *origlist; - int ret, oldpos, newcol, had_saved_line, origpos; + int had_saved_line, origpos; char *t; +#if defined (HISTORY_SEARCH_SETS_HISTPOS) origpos = where_history (); had_saved_line = _rl_saved_line_for_history != 0; rl_maybe_save_line (); /* This will either be restored from the saved line or set from the found history line. */ rl_undo_list = 0; +#else + rl_maybe_save_line (); +#endif temp = (HIST_ENTRY *)NULL; /* Search COUNT times through the history for a line matching @@ -581,16 +606,16 @@ rl_history_search_internal (int count, int dir) /* Copy the line we found into the current line buffer. */ make_history_line_current (temp); - /* Free the saved history line corresponding to the search string */ - if (had_saved_line == 0) - _rl_free_saved_history_line (); - -#if HISTORY_SEARCH_SETS_HISTPOS /* XXX - can't make this work the way I want it to yet. Too much assumes that rl_undo_list corresponds to the current history entry's undo list, especially the stuff in maybe_save_line and especially maybe_replace_line. Leaving it commented out for now. */ +#if defined (HISTORY_SEARCH_SETS_HISTPOS) + /* Free the saved history line corresponding to the search string */ + if (had_saved_line == 0) + _rl_free_saved_history_line (); + /* Make sure we set the current history position to the last line found so we can do things like operate-and-get-next from here. This is similar to how incremental search behaves. */ @@ -644,7 +669,7 @@ rl_history_search_reinit (int flags) strncpy (history_search_string + sind, rl_line_buffer, rl_point); history_search_string[rl_point + sind] = '\0'; } - _rl_free_saved_history_line (); + _rl_free_saved_history_line (); /* XXX rl_undo_list? */ } /* Search forward in the history for the string of characters diff --git a/po/hr.gmo b/po/hr.gmo index dbf4f360570666401afa3d94a91c2f0ac2f80ce4..39178a315d2e2e67ba1e9a4eafda8d7122b6ecd3 100644 GIT binary patch delta 3780 zcmZA332@fM8OQNw7m;vD<%pai2~7#%K7*kG5rrfms8kD~BLoNqqya;MnnGU)6v`0} zD}=MiDaeh5P!x;Qu^hE%nIa&kp{Suy8L&mD+V3wL+L>l1^V$7hyZb!PZgTl*wbHBA zc20gM^4>SrOw*p8Eoy$YAkcM2~(Cki}q%vE1dPGe`l4m z^_9%hS367K`t`NWBKMiq-QX+=U)}61tFqauZO(de|GVAJ2J&97JuYJB8K8KtvxoV> zq!MRIxO2ZV=4GE8a8?aJ#aeg`$ML~$@HqXkhnyAhV9FnuSWUCTN1UzW`U@XBdz^vl zopN@T{*W`y&SBS2oSnevv(CO^0%d0-&MtD{;(2F-xbW@;XN$4nC1)RLBA+_Dj}H}I zVI@2_>vLzraUsseo0y4HzHkjXT=}kB>MA)`to9|G|ZQ$ zt`2IT3%HX=eu3IO%d>rX3SLL;uHR!Up2P3qx0p`-S*=mtT61CWPs4|1VN?2xP`TWN zDx#y<3a?-x@6{RYtsDI%W4wJvsQ-c)^!JbVrG1SEUFMIR!8)FA1(zGB9_;e(Mek5x9 z{v0`8Y%Z!eiz7Z_ZE5V_LL0n*9q@sv-a29`#$rBdLQ60XPhd;@3cFz3wD8^_Y)5}? zg>Pd+`qwZPqYA@>TVMkH9)%2;NF$pIkKlZa!9QUtUPbNu*3-j_T~Mj&hq_;Ywef9K zl^;iK!%|dD+(0elE^1+IXL##{!?7Q3jL=YSZ(>)h^~+!y?xQ~qAI6lK;l(`cL4O}= zfZNy^{j9L^uBh{13_gi3VLTqe=kV{?9sB;uTN*~@(CAI$1gbb1&i3VJ{(uUnp;Gi_ zg{7$H>dXl%OG8CuGN#}gs1N@Q711_x!vx2nQnj|Ce;QeE#A?k852m3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id-Version: bash 5.1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-11-28 12:51-0500\n" -"PO-Revision-Date: 2022-03-24 15:58-0700\n" +"PO-Revision-Date: 2022-03-30 11:48-0700\n" "Last-Translator: Božidar Putanec \n" "Language-Team: Croatian \n" "Language: hr\n" @@ -1973,7 +1973,7 @@ msgstr "nije moguće duplicirati imenovanu cijev %s kao deskriptor datoteke %d" #: subst.c:6213 msgid "command substitution: ignored null byte in input" -msgstr "nevaljana supstitucija: ignorira se prazni (nula) bajt na ulazu" +msgstr "nevaljana supstitucija: zanemaren prazni (nula) bajt u ulazu" #: subst.c:6353 msgid "cannot make pipe for command substitution" @@ -2796,10 +2796,10 @@ msgstr "" "\n" " Opcije:\n" " -L slijedi simboličke veze; simboličke veze u DIREKTORIJU razriješi\n" -" nakon obrade zapisa „..“\n" +" nakon obrade instance „..“\n" " -P rabi fizičku strukturu direktorija umjesto da slijedi simboličke\n" " veze; simboličke veze u DIREKTORIJU razriješi prije obrade\n" -" zapisa „..“\n" +" instance „..“\n" " -e ako je dana s opcijom „-P“, i trenutni radni direktorij nije\n" " moguće uspješno odrediti nakon uspješne promjene direktorija,\n" " „cd“ završi s kȏdom različitim od 0.\n" @@ -2948,7 +2948,7 @@ msgstr "" " -f prikaže samo definirane funkcije (ne prikaže varijable)\n" " -F prikaže samo imena funkcija bez definicija\n" " -g stvori globalne varijable samo za upotrebu u funkciji ljuske;\n" -" inače se ignoriraju\n" +" inače su zanemarene\n" " -I ako stvori lokalnu varijablu, neka naslijedi atribute i vrijednost\n" " varijable s istim imenom u prethodnom opsegu\n" " -p prikaže atribute i vrijednost za svako dano IME\n" @@ -3962,7 +3962,7 @@ msgstr "" " hashall == -h\n" " histexpand == -H\n" " history omogući naredbu „history“\n" -" ignoreeof ignorira Ctrl-D; ne završi (ne iziđe iz) ljusku na EOF\n" +" ignoreeof zanemari Ctrl-D; ne završi (ne iziđe iz) ljusku na EOF\n" " interactive-comments dopusti komentiranje u interaktivnim naredbama\n" " keyword == -k\n" " monitor == -m\n" @@ -4372,7 +4372,7 @@ msgstr "" " specificiranih signala (SIGNAL_SPEC). Ako nema ARGUMENTA (i dan je samo\n" " jedan signal) ili ARGUMENT je „-“, specificirani signal zadobije svoju\n" " originalnu vrijednost (koju je imao na startu ove ljuske). Ako je ARGUMENT\n" -" prazni string, ljuska i njezini potomci ignoriraju svaki SIGNAL_SPEC.\n" +" prazni string, ljuska i njezini potomci zanemare svaki SIGNAL_SPEC.\n" "\n" " Ako je SIGNAL_SPEC 0 ili EXIT, ARGUMENT se izvrši kad zatvorite\n" " (exit) ljusku. Ako je SIGNAL_SPEC DEBUG, ARGUMENT se izvrši prije\n" @@ -4741,7 +4741,7 @@ msgstr "" " korisnikom i CPU vrijeme potrošeno sustavom za izvršavanje naredbi.\n" "\n" " Izlazni format se može prilagoditi s varijablom okoline TIMEFORMAT.\n" -" Opcija „-p“ ignorira TIMEFORMAT i ispiše izlaz u prenosivom POSIX\n" +" Opcija „-p“ zanemari TIMEFORMAT i ispiše izlaz u prenosivom POSIX\n" " formatu.\n" "\n" " Završi s izlaznim kȏdom CJEVOVODA." @@ -5030,7 +5030,7 @@ msgstr "" " kad argument od „cd“ (direktorij) nije u\n" " trenutnom radnom direktoriju\n" " GLOBIGNORE popis uzoraka koji opisuju imena datoteka koje\n" -" se ignoriraju prilikom ekspanzije imena staza\n" +" su zanemarene prilikom ekspanzije imena staza\n" " HISTFILE ime datoteke koja sadrži povijest vaših naredbi\n" " HISTFILESIZE maksimalni broj redaka datoteke s povijesti naredba\n" " HISTIGNORE popis uzoraka koji opisuju naredbe koje ne treba zapisati\n" @@ -5039,7 +5039,7 @@ msgstr "" " HOME puni naziv staze do vašega vlastitog direktorija\n" " HOSTNAME ime računala na kojem se izvršava „bash“\n" " HOSTTYPE vrsta CPU-a na kojem se izvršava „bash“\n" -" IGNOREEOF broj ignoriranih Ctrl-D (EOF) prije zatvaranja ljuske\n" +" IGNOREEOF broj zanemarenih Ctrl-D (EOF) prije zatvaranja ljuske\n" " MACHTYPE vrsta računala na kojem se izvršava „bash“\n" " MAILCHECK kako često (u sekundama) „bash“ gleda ima li nove pošte\n" " MAILPATH popis datoteka koje „bash“ provjeri za novu poštu\n" diff --git a/tests/RUN-ONE-TEST b/tests/RUN-ONE-TEST index c8bef8dd..0b063810 100755 --- a/tests/RUN-ONE-TEST +++ b/tests/RUN-ONE-TEST @@ -1,4 +1,4 @@ -BUILD_DIR=/usr/local/build/bash/bash-current +BUILD_DIR=/usr/local/build/chet/bash/bash-current THIS_SH=$BUILD_DIR/bash PATH=$PATH:$BUILD_DIR