public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/readline] rawhide: Update to readline-8.3 patchlevel 6
@ 2026-10-06 4:16 Siteshwar Vashisht
0 siblings, 0 replies; only message in thread
From: Siteshwar Vashisht @ 2026-10-06 4:16 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/readline
Branch : rawhide
Commit : 7dccea68fbf10abdcc2f4d44d742dd1620a1ed5f
Author : Siteshwar Vashisht <svashisht@redhat.com>
Date : 2026-10-06T06:08:52+02:00
Stats : +94/-1 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/readline/c/7dccea68fbf10abdcc2f4d44d742dd1620a1ed5f?branch=rawhide
Log:
Update to readline-8.3 patchlevel 6
Resolves: #2546278
---
diff --git a/readline-8.3-patch-4.patch b/readline-8.3-patch-4.patch
new file mode 100644
index 0000000..a70ac9f
--- /dev/null
+++ b/readline-8.3-patch-4.patch
@@ -0,0 +1,32 @@
+diff --git a/display.c b/display.c
+--- a/display.c
++++ b/display.c
+@@ -1497,7 +1497,6 @@ rl_redisplay (void)
+ the characters from the current cursor position. But we
+ only need to reprint it if the cursor is before the last
+ invisible character in the prompt string. */
+- /* XXX - why not use local_prompt_len? */
+ nleft = prompt_visible_length + wrap_offset;
+ if (cursor_linenum == prompt_last_screen_line)
+ {
+@@ -1509,11 +1508,7 @@ rl_redisplay (void)
+ on the current screen line begins in the buffer. It is a
+ buffer position, an index into curline
+ (local_prompt + pmt_offset) */
+- cursor_bufpos = pmt_offset;
+- if (mb_cur_max == 1 || rl_byte_oriented)
+- cursor_bufpos += _rl_last_c_pos;
+- else
+- cursor_bufpos += _rl_last_c_pos + curline_invchars;
++ cursor_bufpos = pmt_offset + local_prompt_len;
+
+ if (local_prompt && local_prompt_invis_chars[cursor_linenum] &&
+ _rl_last_c_pos > 0 &&
+diff --git a/patchlevel b/patchlevel
+--- a/patchlevel
++++ b/patchlevel
+@@ -1,3 +1,3 @@
+ # Do not edit -- exists only for use by patch
+
+-3
++4
diff --git a/readline-8.3-patch-5.patch b/readline-8.3-patch-5.patch
new file mode 100644
index 0000000..9b67456
--- /dev/null
+++ b/readline-8.3-patch-5.patch
@@ -0,0 +1,34 @@
+diff --git a/display.c b/display.c
+--- a/display.c
++++ b/display.c
+@@ -1024,6 +1024,7 @@ rl_redisplay (void)
+ while (local_prompt_newlines[newlines+1] != -1)
+ {
+ temp = local_prompt_newlines[newlines+1];
++ CHECK_INV_LBREAKS ();
+ inv_lbreaks[++newlines] = temp;
+ }
+
+@@ -2261,11 +2262,12 @@ update_line (char *old, char *old_face, char *new, char *new_face, int current_l
+ od = ofd - old; /* index of first difference in visible line */
+ nd = nfd - new; /* nd, od are buffer indexes */
+ if (current_line == 0 && !_rl_horizontal_scroll_mode &&
+- _rl_term_cr && lendiff > prompt_visible_length && _rl_last_c_pos > 0 &&
++ _rl_term_cr && lendiff > prompt_visible_length && _rl_last_c_pos >= 0 &&
+ (((od > 0 || nd > 0) && (od <= prompt_last_invisible || nd <= prompt_last_invisible)) ||
+ ((od >= lendiff) && _rl_last_c_pos < PROMPT_ENDING_INDEX)))
+ {
+- _rl_cr ();
++ if (_rl_last_c_pos > 0)
++ _rl_cr ();
+ if (modmark)
+ _rl_output_some_chars ("*", 1);
+ _rl_output_some_chars (local_prompt, lendiff);
+diff --git a/patchlevel b/patchlevel
+--- a/patchlevel
++++ b/patchlevel
+@@ -1,3 +1,3 @@
+ # Do not edit -- exists only for use by patch
+
+-4
++5
diff --git a/readline-8.3-patch-6.patch b/readline-8.3-patch-6.patch
new file mode 100644
index 0000000..7e25aee
--- /dev/null
+++ b/readline-8.3-patch-6.patch
@@ -0,0 +1,23 @@
+diff --git a/display.c b/display.c
+--- a/display.c
++++ b/display.c
+@@ -3522,8 +3522,9 @@ _rl_redisplay_after_sigwinch (void)
+ else
+ rl_crlf ();
+
+- if (_rl_screenwidth < prompt_visible_length)
+- _rl_reset_prompt (); /* update local_prompt_newlines array */
++ /* Let expand_prompt() update local_prompt_newlines and local_prompt_invis_chars
++ arrays */
++ _rl_reset_prompt ();
+
+ /* Redraw only the last line of a multi-line prompt. */
+ t = strrchr (rl_display_prompt, '\n');
+diff --git a/patchlevel b/patchlevel
+--- a/patchlevel
++++ b/patchlevel
+@@ -1,3 +1,3 @@
+ # Do not edit -- exists only for use by patch
+
+-5
++6
diff --git a/readline.spec b/readline.spec
index b7b3b3d..9f426f9 100644
--- a/readline.spec
+++ b/readline.spec
@@ -1,7 +1,7 @@
Summary: A library for editing typed command lines
Name: readline
Version: 8.3
-Release: 6%{?dist}
+Release: 7%{?dist}
# * Main sources are GPL-3.0-or-later
# * examples/rlfe are GPL-2.0-or-later
@@ -90,6 +90,10 @@ rm -vf %{buildroot}%{_infodir}/dir*
%{_libdir}/libhistory.a
%changelog
+* Tue Oct 06 2026 Siteshwar Vashisht <svashisht@redhat.com> - 8.3-7
+- Update to readline-8.3 patchlevel 6
+ Resolves: #2546278
+
* Fri Aug 07 2026 Siteshwar Vashisht <svashisht@redhat.com> - 8.3-6
- Rebuild with updated readline-8.3 tarball
Related: #2376216
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-06 4:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-06 4:16 [rpms/readline] rawhide: Update to readline-8.3 patchlevel 6 Siteshwar Vashisht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox