summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/readline/readline/readline82-007.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/readline/readline/readline82-007.patch')
-rw-r--r--meta/recipes-core/readline/readline/readline82-007.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/meta/recipes-core/readline/readline/readline82-007.patch b/meta/recipes-core/readline/readline/readline82-007.patch
new file mode 100644
index 0000000000..9fa1ccb552
--- /dev/null
+++ b/meta/recipes-core/readline/readline/readline82-007.patch
@@ -0,0 +1,51 @@
1 READLINE PATCH REPORT
2 =====================
3
4Readline-Release: 8.2
5Patch-ID: readline82-007
6
7Bug-Reported-by: Kevin Pulo <kev@pulo.com.au>
8Bug-Reference-ID:
9Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-readline/2022-11/msg00002.html
10
11Bug-Description:
12
13If readline is called with no prompt, it should display a newline if return
14is typed on an empty line. It should still suppress the final newline if
15return is typed on the last (empty) line of a multi-line command.
16
17Patch (apply with `patch -p0'):
18
19Upstream-Status: Submitted [https://ftp.gnu.org/gnu/readline/readline-8.2-patches/]
20Signed-off-by: Khem Raj <raj.khem@gmail.com>
21
22*** ../readline-8.2-patched/display.c 2022-04-05 10:47:31.000000000 -0400
23--- display.c 2022-12-13 13:11:22.000000000 -0500
24***************
25*** 3342,3348 ****
26 &last_face[_rl_screenwidth - 1 + woff], 1);
27 }
28! _rl_vis_botlin = 0;
29! if (botline_length > 0 || _rl_last_c_pos > 0)
30 rl_crlf ();
31 fflush (rl_outstream);
32 rl_display_fixed++;
33--- 3394,3400 ----
34 &last_face[_rl_screenwidth - 1 + woff], 1);
35 }
36! if ((_rl_vis_botlin == 0 && botline_length == 0) || botline_length > 0 || _rl_last_c_pos > 0)
37 rl_crlf ();
38+ _rl_vis_botlin = 0;
39 fflush (rl_outstream);
40 rl_display_fixed++;
41*** ../readline-8.2/patchlevel 2013-11-15 08:11:11.000000000 -0500
42--- patchlevel 2014-03-21 08:28:40.000000000 -0400
43***************
44*** 1,3 ****
45 # Do not edit -- exists only for use by patch
46
47! 6
48--- 1,3 ----
49 # Do not edit -- exists only for use by patch
50
51! 7