]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/patches/readline/readline52-009
Merge remote-tracking branch 'origin/next' into thirteen
[people/teissler/ipfire-2.x.git] / src / patches / readline / readline52-009
1 READLINE PATCH REPORT
2 =====================
3
4 Readline-Release: 5.2
5 Patch-ID: readline52-009
6
7 Bug-Reported-by: dAniel hAhler <ubuntu@thequod.de>
8 Bug-Reference-ID:
9 Bug-Reference-URL:
10
11 Bug-Description:
12
13 Under some circumstances, readline will incorrectly display a prompt string
14 containing invisible characters after the final newline.
15
16 Patch:
17
18 *** ../readline-5.2-patched/display.c 2007-08-25 13:47:08.000000000 -0400
19 --- display.c 2007-11-10 17:51:29.000000000 -0500
20 ***************
21 *** 392,396 ****
22 local_prompt = expand_prompt (p, &prompt_visible_length,
23 &prompt_last_invisible,
24 ! (int *)NULL,
25 &prompt_physical_chars);
26 c = *t; *t = '\0';
27 --- 420,424 ----
28 local_prompt = expand_prompt (p, &prompt_visible_length,
29 &prompt_last_invisible,
30 ! &prompt_invis_chars_first_line,
31 &prompt_physical_chars);
32 c = *t; *t = '\0';
33 ***************
34 *** 399,403 ****
35 local_prompt_prefix = expand_prompt (prompt, &prompt_prefix_length,
36 (int *)NULL,
37 ! &prompt_invis_chars_first_line,
38 (int *)NULL);
39 *t = c;
40 --- 427,431 ----
41 local_prompt_prefix = expand_prompt (prompt, &prompt_prefix_length,
42 (int *)NULL,
43 ! (int *)NULL,
44 (int *)NULL);
45 *t = c;