1 |
polynomial-c 14/08/30 08:20:50 |
2 |
|
3 |
Added: readline-6.3-fix-long-prompt-vi-search.patch |
4 |
Removed: readline-6.3-readline-sigint-cleanup.patch |
5 |
readline-6.3-revert-all-at-newline-history-segfault.patch |
6 |
readline-6.3-horizontal-redisplay.patch |
7 |
Log: |
8 |
Revbump to fix very long prompts in vi mode. Removed old |
9 |
|
10 |
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC) |
11 |
|
12 |
Revision Changes Path |
13 |
1.1 sys-libs/readline/files/readline-6.3-fix-long-prompt-vi-search.patch |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/readline/files/readline-6.3-fix-long-prompt-vi-search.patch?rev=1.1&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/readline/files/readline-6.3-fix-long-prompt-vi-search.patch?rev=1.1&content-type=text/plain |
17 |
|
18 |
Index: readline-6.3-fix-long-prompt-vi-search.patch |
19 |
=================================================================== |
20 |
From 2774192e93991e3d85ccc37c714aa018e442af6d Mon Sep 17 00:00:00 2001 |
21 |
From: Dylan Cali <calid1984@×××××.com> |
22 |
Date: Sat, 23 Aug 2014 02:26:05 -0500 |
23 |
Subject: [PATCH] fix vi search prompt bug for long prompts |
24 |
|
25 |
--- |
26 |
display.c | 2 +- |
27 |
1 file changed, 1 insertion(+), 1 deletion(-) |
28 |
|
29 |
diff --git a/display.c b/display.c |
30 |
index 4df1f73..e575b16 100644 |
31 |
--- a/display.c |
32 |
+++ b/display.c |
33 |
@@ -2259,7 +2259,7 @@ rl_message (va_alist) |
34 |
va_start (args); |
35 |
format = va_arg (args, char *); |
36 |
#endif |
37 |
- vsnprintf (msg_buf, msg_bufsiz - 1, format, args); |
38 |
+ vsnprintf (msg_buf, msg_bufsiz, format, args); |
39 |
} |
40 |
#else |
41 |
vsprintf (msg_buf, format, args); |
42 |
-- |
43 |
1.7.10.4 |