mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-11 14:10:49 +02:00
minor updates for release
This commit is contained in:
@@ -291,7 +291,7 @@ in new commands. The basic history manipulation commands are
|
||||
identical to
|
||||
the history substitution provided by \fBbash\fP.
|
||||
.PP
|
||||
The programmer can also use the Readline library, which
|
||||
The programmer can also use the readline library, which
|
||||
includes some history manipulation by default, and has the added
|
||||
advantage of command line editing.
|
||||
.PP
|
||||
|
||||
@@ -397,7 +397,7 @@ replace_history_entry (int which, const char *line, histdata_t data)
|
||||
|
||||
temp->line = savestring (line);
|
||||
temp->data = data;
|
||||
temp->timestamp = savestring (old_value->timestamp);
|
||||
temp->timestamp = old_value->timestamp ? savestring (old_value->timestamp) : 0;
|
||||
the_history[which] = temp;
|
||||
|
||||
return (old_value);
|
||||
|
||||
Reference in New Issue
Block a user