Skip to contentSkip to conversation

readline: backport a patch to fix for caller setting rl_prompt to NULL

PATCH Superseded João Henrique Ferreira de Freitas 2 participants 5 messages Oct 30, 2025 – Oct 31, 2025 1 message not in the archive

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 readline: backport a patch to fix for caller setting rl_prompt to NULL

I've observed this issue affecting iwctl and connmanctl.

Patching readline solves the issue.

References:

1: https://gitlab.archlinux.org/archlinux/packaging/packages/readline/-/issues/1
2: https://gitlab.archlinux.org/archlinux/packaging/packages/readline/-/commit/b30636dc66fc783a091af51b049dc5240f861dd0
3: https://lists.gnu.org/archive/html/bug-readline/2025-07/msg00007.html
4: https://lore.kernel.org/connman/[email protected]/

Fixes [YOCTO #16047]

---
 ...for-caller-setting-rl_prompt-to-NULL.patch | 24 +++++++++++++++++++
 meta/recipes-core/readline/readline_8.3.bb    |  5 ++--
 2 files changed, 27 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch
meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch new file +24 -0
new file mode 100644
index 0000000000..7cc366079a
@@ -0,0 +1,24 @@
+From 7c1019182f928ca05e794aecd06c33a27b7d07b1 Mon Sep 17 00:00:00 2001
+From: kas User <[email protected]>
+Date: Thu, 30 Oct 2025 14:19:41 -0300
+Subject: [PATCH] fix for caller setting rl_prompt to NULL
+
+Upstream-Status: Backport [https://cgit.git.savannah.gnu.org/cgit/readline.git/commit/display.c?h=devel&id=488d7edc22894d30b6de7f2d4190bf7403f63ffd]
+Signed-off-by: João Henrique Ferreira de Freitas <[email protected]>
+---
+ display.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/display.c b/display.c
+index 9aa8c7b..edb525d 100644
+--- a/display.c
++++ b/display.c
+@@ -783,7 +783,7 @@ _rl_optimize_redisplay (void)
+ 
+ /* Useful shorthand used by rl_redisplay, update_line, rl_move_cursor_relative */
+ #define INVIS_FIRST()	(local_prompt_invis_chars[0])
+-#define WRAP_OFFSET(line, offset)  ((line <= prompt_last_screen_line) ? local_prompt_invis_chars[line] : 0)
++#define WRAP_OFFSET(line, offset)  ((line <= prompt_last_screen_line && local_prompt_invis_chars) ? local_prompt_invis_chars[line] : 0)
+ 
+ #define W_OFFSET(line, offset) ((line) == 0 ? offset : 0)
+ #define VIS_LLEN(l)	((l) > _rl_vis_botlin ? 0 : (vis_lbreaks[l+1] - vis_lbreaks[l]))
meta/recipes-core/readline/readline_8.3.bb +3 -2
index a2f23eb353..8bc4477946 100644
@@ -1,7 +1,8 @@
 require readline.inc
 
 SRC_URI += "file://norpath.patch \
-            file://fix-for-readline-event-hook.patch \
-            "
+           file://fix-for-readline-event-hook.patch \
+           file://fix-for-caller-setting-rl_prompt-to-NULL.patch \
+           "
 
 SRC_URI[archive.sha256sum] = "fe5383204467828cd495ee8d1d3c037a7eba1389c22bc6a041f627976f9061cc"
#1 lore raw

Hi João,

João Henrique Ferreira de Freitas via lists.openembedded.org <joaohf= [email protected]> escreveu (quinta, 30/10/2025 à(s) 19:36):

Quoted 34 lines

I've observed this issue affecting iwctl and connmanctl.

Patching readline solves the issue.

References:

1:
https://gitlab.archlinux.org/archlinux/packaging/packages/readline/-/issues/1
2:
https://gitlab.archlinux.org/archlinux/packaging/packages/readline/-/commit/b30636dc66fc783a091af51b049dc5240f861dd0
3: https://lists.gnu.org/archive/html/bug-readline/2025-07/msg00007.html
4:
https://lore.kernel.org/connman/[email protected]/

Fixes [YOCTO #16047]

---
 ...for-caller-setting-rl_prompt-to-NULL.patch | 24 +++++++++++++++++++
 meta/recipes-core/readline/readline_8.3.bb    |  5 ++--
 2 files changed, 27 insertions(+), 2 deletions(-)
 create mode 100644

meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch

diff --git a/meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch b/meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch new file mode 100644
index 0000000000..7cc366079a
--- /dev/null
+++
b/meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch

meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch line 2

Quoted 2 lines
meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch new file +2 -0
@@ -0,0 +1,24 @@
+From 7c1019182f928ca05e794aecd06c33a27b7d07b1 Mon Sep 17 00:00:00 2001
+From: kas User <[email protected]>

Can you please use your name here too?

Jose

+Date: Thu, 30 Oct 2025 14:19:41 -0300

Quoted 56 lines
meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch new file +3 -0
+Subject: [PATCH] fix for caller setting rl_prompt to NULL
+
+Upstream-Status: Backport [

https://cgit.git.savannah.gnu.org/cgit/readline.git/commit/display.c?h=devel&id=488d7edc22894d30b6de7f2d4190bf7403f63ffd
]

meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch new file +12 -0
+Signed-off-by: João Henrique Ferreira de Freitas <[email protected]>
+---
+ display.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/display.c b/display.c
+index 9aa8c7b..edb525d 100644
+--- a/display.c
++++ b/display.c
+@@ -783,7 +783,7 @@ _rl_optimize_redisplay (void)
+
+ /* Useful shorthand used by rl_redisplay, update_line,

rl_move_cursor_relative */
+ #define INVIS_FIRST() (local_prompt_invis_chars[0]) +-#define WRAP_OFFSET(line, offset) ((line <= prompt_last_screen_line) ? local_prompt_invis_chars[line] : 0)
++#define WRAP_OFFSET(line, offset) ((line <= prompt_last_screen_line && local_prompt_invis_chars) ? local_prompt_invis_chars[line] : 0) +
+ #define W_OFFSET(line, offset) ((line) == 0 ? offset : 0)
+ #define VIS_LLEN(l) ((l) > _rl_vis_botlin ? 0 : (vis_lbreaks[l+1] -
vis_lbreaks[l]))

meta/recipes-core/readline/readline_8.3.bb +3 -2
index a2f23eb353..8bc4477946 100644
@@ -1,7 +1,8 @@
 require readline.inc
 
 SRC_URI += "file://norpath.patch \
-            file://fix-for-readline-event-hook.patch \
-            "
+           file://fix-for-readline-event-hook.patch \
+           file://fix-for-caller-setting-rl_prompt-to-NULL.patch \
+           "
 
 SRC_URI[archive.sha256sum] =

"fe5383204467828cd495ee8d1d3c037a7eba1389c22bc6a041f627976f9061cc"

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#225518):
https://lists.openembedded.org/g/openembedded-core/message/225518
Mute This Topic: https://lists.openembedded.org/mt/116036505/5052612
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Best regards,

José Quaresma
#3 lore raw
In reply to a message not in the archive

Jose Quaresma via lists.openembedded.org <quaresma.jose= [email protected]> escreveu (sexta, 31/10/2025 à(s) 12:39):

Quoted 30 lines

Hi João,

João Henrique Ferreira de Freitas via lists.openembedded.org <joaohf= [email protected]> escreveu (quinta, 30/10/2025 à(s) 19:36):

Quoted 24 lines

I've observed this issue affecting iwctl and connmanctl.

Patching readline solves the issue.

References:

1:
https://gitlab.archlinux.org/archlinux/packaging/packages/readline/-/issues/1
2:
https://gitlab.archlinux.org/archlinux/packaging/packages/readline/-/commit/b30636dc66fc783a091af51b049dc5240f861dd0
3: https://lists.gnu.org/archive/html/bug-readline/2025-07/msg00007.html
4:
https://lore.kernel.org/connman/[email protected]/

Fixes [YOCTO #16047]

---
 ...for-caller-setting-rl_prompt-to-NULL.patch | 24 +++++++++++++++++++
 meta/recipes-core/readline/readline_8.3.bb    |  5 ++--
 2 files changed, 27 insertions(+), 2 deletions(-)
 create mode 100644

meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch

Quoted 15 lines

Review line 2

Quoted 12 lines

diff --git a/meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch b/meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch new file mode 100644
index 0000000000..7cc366079a
--- /dev/null
+++
b/meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch

(quoted diff) +2 -0
@@ -0,0 +1,24 @@
+From 7c1019182f928ca05e794aecd06c33a27b7d07b1 Mon Sep 17 00:00:00 2001
+From: kas User <[email protected]>

Can you please use your name here too?

Looking in the patch and you are not the author so can you please add the author?

Quoted 11 lines

Jose

+Date: Thu, 30 Oct 2025 14:19:41 -0300

Quoted 6 lines
(quoted diff) +3 -0
+Subject: [PATCH] fix for caller setting rl_prompt to NULL
+
+Upstream-Status: Backport [

https://cgit.git.savannah.gnu.org/cgit/readline.git/commit/display.c?h=devel&id=488d7edc22894d30b6de7f2d4190bf7403f63ffd
]

You need to explain the reason to only pick the changes for display.c and drop all the others.

Quoted 15 lines

+Signed-off-by: João Henrique Ferreira de Freitas <[email protected]>

Quoted 14 lines
+---
+ display.c | 2 +-

+ 1 file changed, 1 insertion(+), 1 deletion(-)

(quoted diff) +8 -0
+
+diff --git a/display.c b/display.c
+index 9aa8c7b..edb525d 100644
+--- a/display.c
++++ b/display.c
+@@ -783,7 +783,7 @@ _rl_optimize_redisplay (void)
+
+ /* Useful shorthand used by rl_redisplay, update_line,

rl_move_cursor_relative */
+ #define INVIS_FIRST() (local_prompt_invis_chars[0]) +-#define WRAP_OFFSET(line, offset) ((line <= prompt_last_screen_line) ?

Quoted 9 lines
Quoted 8 lines

local_prompt_invis_chars[line] : 0)
++#define WRAP_OFFSET(line, offset) ((line <= prompt_last_screen_line && local_prompt_invis_chars) ? local_prompt_invis_chars[line] : 0) +
+ #define W_OFFSET(line, offset) ((line) == 0 ? offset : 0)
+ #define VIS_LLEN(l) ((l) > _rl_vis_botlin ? 0 : (vis_lbreaks[l+1] -
vis_lbreaks[l]))

The patch is also partial, two more changes are still missed.

Jose

(quoted diff) +0 -0
Quoted 37 lines
Quoted 15 lines

b/meta/recipes-core/readline/readline_8.3.bb
index a2f23eb353..8bc4477946 100644

meta/recipes-core/readline/readline_8.3.bb +3 -2
@@ -1,7 +1,8 @@
 require readline.inc
 
 SRC_URI += "file://norpath.patch \
-            file://fix-for-readline-event-hook.patch \
-            "
+           file://fix-for-readline-event-hook.patch \
+           file://fix-for-caller-setting-rl_prompt-to-NULL.patch \
+           "
 
 SRC_URI[archive.sha256sum] =
Quoted 5 lines

"fe5383204467828cd495ee8d1d3c037a7eba1389c22bc6a041f627976f9061cc"

--
Best regards,

José Quaresma

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#225537):
https://lists.openembedded.org/g/openembedded-core/message/225537
Mute This Topic: https://lists.openembedded.org/mt/116036505/5052612
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Best regards,

José Quaresma
#4 lore raw

Hi José,

I'll fix it. I totally missed those points. Thanks.

So, the original patch is this one
https://cgit.git.savannah.gnu.org/cgit/readline.git/commit/display.c?h=devel&id=488d7edc22894d30b6de7f2d4190bf7403f63ffd
but it looks it's a mix of 5 fixes, because the commit message says:

fix for termcap on GNU Hurd; fix for caller setting rl_prompt to NULL; fix for event hook not reading pending input; fix to accept 4-byte UTF-8 characters beginning with 0xF4; fix for macros to include character search arguments; new function to read history from non-regular files

Also, if we take a look here:
https://lists.gnu.org/archive/html/bug-readline/2025-07/msg00007.html
mainly the patch that fix the readline issue for connmanctl/iwdctl is this one
https://lists.gnu.org/archive/html/bug-readline/2025-07/txtmA7rksnmmi.txt

That's why I took only that change.

I'll send a v2 fixing author and explaining the reason. That why it will make it consistent.

Thanks for reviewing it.

Quoted 142 lines · Jose Quaresma

Jose Quaresma via lists.openembedded.org <quaresma.jose= [email protected]> escreveu (sexta, 31/10/2025 à(s) 12:39):

Quoted 30 lines

Hi João,

João Henrique Ferreira de Freitas via lists.openembedded.org <joaohf= [email protected]> escreveu (quinta, 30/10/2025 à(s) 19:36):

Quoted 24 lines

I've observed this issue affecting iwctl and connmanctl.

Patching readline solves the issue.

References:

1:
https://gitlab.archlinux.org/archlinux/packaging/packages/readline/-/issues/1
2:
https://gitlab.archlinux.org/archlinux/packaging/packages/readline/-/commit/b30636dc66fc783a091af51b049dc5240f861dd0
3: https://lists.gnu.org/archive/html/bug-readline/2025-07/msg00007.html
4:
https://lore.kernel.org/connman/[email protected]/

Fixes [YOCTO #16047]

---
 ...for-caller-setting-rl_prompt-to-NULL.patch | 24 +++++++++++++++++++
 meta/recipes-core/readline/readline_8.3.bb    |  5 ++--
 2 files changed, 27 insertions(+), 2 deletions(-)
 create mode 100644

meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch

Quoted 15 lines

Review line 2

Quoted 12 lines

diff --git a/meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch b/meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch new file mode 100644
index 0000000000..7cc366079a
--- /dev/null
+++
b/meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch

(quoted diff) +2 -0
@@ -0,0 +1,24 @@
+From 7c1019182f928ca05e794aecd06c33a27b7d07b1 Mon Sep 17 00:00:00 2001
+From: kas User <[email protected]>

Can you please use your name here too?

Looking in the patch and you are not the author so can you please add the author?

Quoted 11 lines

Jose

+Date: Thu, 30 Oct 2025 14:19:41 -0300

Quoted 6 lines
(quoted diff) +3 -0
+Subject: [PATCH] fix for caller setting rl_prompt to NULL
+
+Upstream-Status: Backport [

https://cgit.git.savannah.gnu.org/cgit/readline.git/commit/display.c?h=devel&id=488d7edc22894d30b6de7f2d4190bf7403f63ffd
]

You need to explain the reason to only pick the changes for display.c and drop all the others.

Quoted 15 lines

+Signed-off-by: João Henrique Ferreira de Freitas <[email protected]>

Quoted 14 lines
+---
+ display.c | 2 +-

+ 1 file changed, 1 insertion(+), 1 deletion(-)

(quoted diff) +8 -0
+
+diff --git a/display.c b/display.c
+index 9aa8c7b..edb525d 100644
+--- a/display.c
++++ b/display.c
+@@ -783,7 +783,7 @@ _rl_optimize_redisplay (void)
+
+ /* Useful shorthand used by rl_redisplay, update_line,

rl_move_cursor_relative */
+ #define INVIS_FIRST() (local_prompt_invis_chars[0]) +-#define WRAP_OFFSET(line, offset) ((line <= prompt_last_screen_line)

Quoted 9 lines
Quoted 8 lines

? local_prompt_invis_chars[line] : 0)
++#define WRAP_OFFSET(line, offset) ((line <= prompt_last_screen_line && local_prompt_invis_chars) ? local_prompt_invis_chars[line] : 0) +
+ #define W_OFFSET(line, offset) ((line) == 0 ? offset : 0)
+ #define VIS_LLEN(l) ((l) > _rl_vis_botlin ? 0 : (vis_lbreaks[l+1] -
vis_lbreaks[l]))

The patch is also partial, two more changes are still missed.

Jose

(quoted diff) +0 -0
Quoted 26 lines
Quoted 15 lines

b/meta/recipes-core/readline/readline_8.3.bb
index a2f23eb353..8bc4477946 100644

meta/recipes-core/readline/readline_8.3.bb +3 -2
@@ -1,7 +1,8 @@
 require readline.inc
 
 SRC_URI += "file://norpath.patch \
-            file://fix-for-readline-event-hook.patch \
-            "
+           file://fix-for-readline-event-hook.patch \
+           file://fix-for-caller-setting-rl_prompt-to-NULL.patch \
+           "
 
 SRC_URI[archive.sha256sum] =
Quoted 5 lines

"fe5383204467828cd495ee8d1d3c037a7eba1389c22bc6a041f627976f9061cc"

--
Best regards,

José Quaresma

Quoted 11 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#225537):
https://lists.openembedded.org/g/openembedded-core/message/225537
Mute This Topic: https://lists.openembedded.org/mt/116036505/5052612
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--
Best regards,

José Quaresma

Signature · 2 lines
João Henrique Ferreira de Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil
#5 lore raw

João Henrique Freitas <[email protected]> escreveu (sexta, 31/10/2025 à(s) 15:27):

Quoted 19 lines

Hi José,

I'll fix it. I totally missed those points. Thanks.

So, the original patch is this one
https://cgit.git.savannah.gnu.org/cgit/readline.git/commit/display.c?h=devel&id=488d7edc22894d30b6de7f2d4190bf7403f63ffd
but it looks it's a mix of 5 fixes, because the commit message says:

fix for termcap on GNU Hurd; fix for caller setting rl_prompt to NULL; fix for event hook not reading pending input; fix to accept 4-byte UTF-8 characters beginning with 0xF4; fix for macros to include character search arguments; new function to read history from non-regular files

Also, if we take a look here:
https://lists.gnu.org/archive/html/bug-readline/2025-07/msg00007.html
mainly the patch that fix the readline issue for connmanctl/iwdctl is this one
https://lists.gnu.org/archive/html/bug-readline/2025-07/txtmA7rksnmmi.txt

Quoted 7 lines

That's why I took only that change.

I'll send a v2 fixing author and explaining the reason. That why it will make it consistent.

Thanks for reviewing it.

Nice! It will be easy for the maintainer with your above description. Thanks

Quoted 154 lines
Quoted 139 lines · Jose Quaresma

Jose Quaresma via lists.openembedded.org <quaresma.jose= [email protected]> escreveu (sexta, 31/10/2025 à(s) 12:39):

Quoted 31 lines

Hi João,

João Henrique Ferreira de Freitas via lists.openembedded.org <joaohf= [email protected]> escreveu (quinta, 30/10/2025 à(s) 19:36):

Quoted 25 lines

I've observed this issue affecting iwctl and connmanctl.

Patching readline solves the issue.

References:

1:
https://gitlab.archlinux.org/archlinux/packaging/packages/readline/-/issues/1
2:
https://gitlab.archlinux.org/archlinux/packaging/packages/readline/-/commit/b30636dc66fc783a091af51b049dc5240f861dd0
3:
https://lists.gnu.org/archive/html/bug-readline/2025-07/msg00007.html
4:
https://lore.kernel.org/connman/[email protected]/

Fixes [YOCTO #16047]

---
 ...for-caller-setting-rl_prompt-to-NULL.patch | 24 +++++++++++++++++++
 meta/recipes-core/readline/readline_8.3.bb    |  5 ++--
 2 files changed, 27 insertions(+), 2 deletions(-)
 create mode 100644

meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch

Quoted 15 lines

Review line 2

Quoted 12 lines

diff --git a/meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch b/meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch new file mode 100644
index 0000000000..7cc366079a
--- /dev/null
+++
b/meta/recipes-core/readline/readline/fix-for-caller-setting-rl_prompt-to-NULL.patch

(quoted diff) +2 -0
@@ -0,0 +1,24 @@
+From 7c1019182f928ca05e794aecd06c33a27b7d07b1 Mon Sep 17 00:00:00 2001
+From: kas User <[email protected]>

Can you please use your name here too?

Looking in the patch and you are not the author so can you please add the author?

Quoted 11 lines

Jose

+Date: Thu, 30 Oct 2025 14:19:41 -0300

Quoted 6 lines
(quoted diff) +3 -0
+Subject: [PATCH] fix for caller setting rl_prompt to NULL
+
+Upstream-Status: Backport [

https://cgit.git.savannah.gnu.org/cgit/readline.git/commit/display.c?h=devel&id=488d7edc22894d30b6de7f2d4190bf7403f63ffd
]

You need to explain the reason to only pick the changes for display.c and drop all the others.

Quoted 15 lines

+Signed-off-by: João Henrique Ferreira de Freitas <[email protected]>

Quoted 14 lines
+---
+ display.c | 2 +-

+ 1 file changed, 1 insertion(+), 1 deletion(-)

(quoted diff) +8 -0
+
+diff --git a/display.c b/display.c
+index 9aa8c7b..edb525d 100644
+--- a/display.c
++++ b/display.c
+@@ -783,7 +783,7 @@ _rl_optimize_redisplay (void)
+
+ /* Useful shorthand used by rl_redisplay, update_line,

rl_move_cursor_relative */
+ #define INVIS_FIRST() (local_prompt_invis_chars[0]) +-#define WRAP_OFFSET(line, offset) ((line <= prompt_last_screen_line)

Quoted 9 lines
Quoted 8 lines

? local_prompt_invis_chars[line] : 0)
++#define WRAP_OFFSET(line, offset) ((line <= prompt_last_screen_line && local_prompt_invis_chars) ? local_prompt_invis_chars[line] : 0) +
+ #define W_OFFSET(line, offset) ((line) == 0 ? offset : 0)
+ #define VIS_LLEN(l) ((l) > _rl_vis_botlin ? 0 : (vis_lbreaks[l+1] -
vis_lbreaks[l]))

The patch is also partial, two more changes are still missed.

Jose

(quoted diff) +0 -0
Quoted 26 lines
Quoted 15 lines

b/meta/recipes-core/readline/readline_8.3.bb
index a2f23eb353..8bc4477946 100644

meta/recipes-core/readline/readline_8.3.bb +3 -2
@@ -1,7 +1,8 @@
 require readline.inc
 
 SRC_URI += "file://norpath.patch \
-            file://fix-for-readline-event-hook.patch \
-            "
+           file://fix-for-readline-event-hook.patch \
+           file://fix-for-caller-setting-rl_prompt-to-NULL.patch \
+           "
 
 SRC_URI[archive.sha256sum] =
Quoted 5 lines

"fe5383204467828cd495ee8d1d3c037a7eba1389c22bc6a041f627976f9061cc"

--
Best regards,

José Quaresma

Quoted 11 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#225537):
https://lists.openembedded.org/g/openembedded-core/message/225537
Mute This Topic: https://lists.openembedded.org/mt/116036505/5052612
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Quoted 5 lines

--
Best regards,

José Quaresma

--
João Henrique Ferreira de Freitas - joaohf_at_gmail.com Campinas-SP-Brasil

Signature · 3 lines
Best regards,

José Quaresma