fix quoting for positional parameters if not word splitting; retry open for startup files on EINTR; update HISTIGNORE description

This commit is contained in:
Chet Ramey
2024-02-21 09:42:10 -05:00
parent cc51fb3c65
commit 43ecbeb31e
11 changed files with 159 additions and 39 deletions
+2 -1
View File
@@ -336,7 +336,8 @@ load_history (void)
if (hf && *hf && file_exists (hf))
{
read_history (hf);
while (read_history (hf) == EINTR) /* 0 on success */
QUIT;
/* We have read all of the lines from the history file, even if we
read more lines than $HISTSIZE. Remember the total number of lines
we read so we don't count the last N lines as new over and over