mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-27 23:53:18 +02:00
minor updates for release
This commit is contained in:
@@ -1,3 +1,19 @@
|
||||
This document details the changes between this version, bash-5.2-release, and
|
||||
the previous version, bash-5.2-rc4.
|
||||
|
||||
1. Changes to Bash
|
||||
|
||||
2. Changes to Readline
|
||||
|
||||
a. When replacing a history entry, make sure the existing entry has a non-NULL
|
||||
timestamp before copying it; it may have been added by the application, not
|
||||
the history library.
|
||||
|
||||
3. New Features in Bash
|
||||
|
||||
4. New Features in Readline
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
This document details the changes between this version, bash-5.2-rc4, and
|
||||
the previous version, bash-5.2-rc3.
|
||||
|
||||
|
||||
+16
@@ -1,3 +1,19 @@
|
||||
This document details the changes between this version, bash-5.2-release, and
|
||||
the previous version, bash-5.2-rc4.
|
||||
|
||||
1. Changes to Bash
|
||||
|
||||
2. Changes to Readline
|
||||
|
||||
a. When replacing a history entry, make sure the existing entry has a non-NULL
|
||||
timestamp before copying it; it may have been added by the application, not
|
||||
the history library.
|
||||
|
||||
3. New Features in Bash
|
||||
|
||||
4. New Features in Readline
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
This document details the changes between this version, bash-5.2-rc4, and
|
||||
the previous version, bash-5.2-rc3.
|
||||
|
||||
|
||||
@@ -3940,3 +3940,13 @@ subst.c
|
||||
9/8
|
||||
---
|
||||
[bash-5.2-rc4 frozen]
|
||||
|
||||
9/20
|
||||
----
|
||||
lib/readline/history.c
|
||||
- replace_history_entry: check for a NULL timestamp before trying to
|
||||
copy it. Report from nov.ondrej@gmail.com
|
||||
|
||||
9/23
|
||||
----
|
||||
[bash-5.2 frozen]
|
||||
|
||||
@@ -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