commit bash-20050630 snapshot

This commit is contained in:
Chet Ramey
2011-12-03 13:48:02 -05:00
parent 0f445e6cd2
commit da71998238
43 changed files with 3878 additions and 224 deletions
+5
View File
@@ -156,6 +156,10 @@ int history_control;
to a previous entry as part of command-oriented-history processing. */
int hist_last_line_added;
/* Set to 1 if builtins/history.def:push_history added the last history
entry. */
int hist_last_line_pushed;
#if defined (READLINE)
/* If non-zero, and readline is being used, the user is offered the
chance to re-edit a failed history expansion. */
@@ -700,6 +704,7 @@ really_add_history (line)
char *line;
{
hist_last_line_added = 1;
hist_last_line_pushed = 0;
add_history (line);
history_lines_this_session++;
}