json-glib: update to 1.10.6
[oi-userland.git] / components / library / readline / patches / readline82-007.patch
blobb0394e0bbf971bf058ec3fe46d9632c93286f341
1 READLINE PATCH REPORT
2 =====================
4 Readline-Release: 8.2
5 Patch-ID: readline82-007
7 Bug-Reported-by: Kevin Pulo <kev@pulo.com.au>
8 Bug-Reference-ID:
9 Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-readline/2022-11/msg00002.html
11 Bug-Description:
13 If readline is called with no prompt, it should display a newline if return
14 is typed on an empty line. It should still suppress the final newline if
15 return is typed on the last (empty) line of a multi-line command.
17 Patch (apply with `patch -p0'):
19 *** ../readline-8.2-patched/display.c 2022-04-05 10:47:31.000000000 -0400
20 --- display.c 2022-12-13 13:11:22.000000000 -0500
21 ***************
22 *** 3342,3348 ****
23 &last_face[_rl_screenwidth - 1 + woff], 1);
25 ! _rl_vis_botlin = 0;
26 ! if (botline_length > 0 || _rl_last_c_pos > 0)
27 rl_crlf ();
28 fflush (rl_outstream);
29 rl_display_fixed++;
30 --- 3394,3400 ----
31 &last_face[_rl_screenwidth - 1 + woff], 1);
33 ! if ((_rl_vis_botlin == 0 && botline_length == 0) || botline_length > 0 || _rl_last_c_pos > 0)
34 rl_crlf ();
35 + _rl_vis_botlin = 0;
36 fflush (rl_outstream);
37 rl_display_fixed++;
38 *** ../readline-8.2/patchlevel 2013-11-15 08:11:11.000000000 -0500
39 --- patchlevel 2014-03-21 08:28:40.000000000 -0400
40 ***************
41 *** 1,3 ****
42 # Do not edit -- exists only for use by patch
44 ! 6
45 --- 1,3 ----
46 # Do not edit -- exists only for use by patch
48 ! 7