]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/bash/bash50-014
Bash: apply patches 12 through 18 as well
[people/pmueller/ipfire-2.x.git] / src / patches / bash / bash50-014
CommitLineData
987826de
PM
1 BASH PATCH REPORT
2 =================
3
4Bash-Release: 5.0
5Patch-ID: bash50-014
6
7Bug-Reported-by: Johannes Hielscher <jhielscher@posteo.de>
8Bug-Reference-ID: <20190208205048.77c25a83@hordevm>
9Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2019-02/msg00032.html
10
11Bug-Description:
12
13If the current line is empty, using the emacs C-xC-e binding to enter the
14editor will edit the previous command instead of the current (empty) one.
15
16Patch (apply with `patch -p0'):
17
18*** ../bash-5.0-patched/bashline.c 2019-01-16 16:13:21.000000000 -0500
19--- bashline.c 2019-02-11 11:18:57.000000000 -0500
20***************
21*** 962,970 ****
22 finished with the command, so we should not ignore the last command */
23 using_history ();
24! if (rl_line_buffer[0])
25! {
26! current_command_line_count++; /* for rl_newline above */
27! bash_add_history (rl_line_buffer);
28! }
29 current_command_line_count = 0; /* for dummy history entry */
30 bash_add_history ("");
31--- 965,970 ----
32 finished with the command, so we should not ignore the last command */
33 using_history ();
34! current_command_line_count++; /* for rl_newline above */
35! bash_add_history (rl_line_buffer);
36 current_command_line_count = 0; /* for dummy history entry */
37 bash_add_history ("");
38*** ../bash-5.0/patchlevel.h 2016-06-22 14:51:03.000000000 -0400
39--- patchlevel.h 2016-10-01 11:01:28.000000000 -0400
40***************
41*** 26,30 ****
42 looks for to find the patch level (for the sccs version string). */
43
44! #define PATCHLEVEL 13
45
46 #endif /* _PATCHLEVEL_H_ */
47--- 26,30 ----
48 looks for to find the patch level (for the sccs version string). */
49
50! #define PATCHLEVEL 14
51
52 #endif /* _PATCHLEVEL_H_ */