Magellan Linux

Annotation of /trunk/bash/patches/bash-3.0-read-e-segfault.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (hide annotations) (download)
Tue May 8 20:06:05 2007 UTC (17 years, 1 month ago) by niro
File size: 825 byte(s)
-import

1 niro 144 > Hmm, a better patch for this seems to be:
2    
3     I installed this patch a while back:
4    
5     *** ../bash-3.0-patched/lib/readline/display.c Wed Sep 8 11:07:51 2004
6     --- lib/readline/display.c Fri Nov 12 13:31:42 2004
7     ***************
8     *** 336,340 ****
9    
10     local_prompt = local_prompt_prefix = (char *)0;
11     ! prompt_last_invisible = prompt_visible_length = 0;
12    
13     if (prompt == 0 || *prompt == 0)
14     --- 341,346 ----
15    
16     local_prompt = local_prompt_prefix = (char *)0;
17     ! prompt_last_invisible = prompt_invis_chars_first_line = 0;
18     ! prompt_visible_length = prompt_physical_chars = 0;
19    
20     if (prompt == 0 || *prompt == 0)
21    
22     --
23     ``The lyf so short, the craft so long to lerne.'' - Chaucer
24     ( ``Discere est Dolere'' -- chet )
25     Live...Laugh...Love
26     Chet Ramey, ITS, CWRU chet@po.cwru.edu http://tiswww.tis.cwru.edu/~chet/