]> git.pld-linux.org Git - packages/vim.git/blob - 7.1.181
- updated to 7.1.285
[packages/vim.git] / 7.1.181
1 To: vim-dev@vim.org
2 Subject: Patch 7.1.181
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.1.181
11 Problem:    Accessing uninitialized memory in Farsi mode. (Dominuque Pelle)
12 Solution:   Only invoke lrF_sub() when there is something to do.
13 Files:      src/ex_cmds.c
14
15
16 *** ../vim-7.1.180/src/ex_cmds.c        Sun Dec  9 19:37:37 2007
17 --- src/ex_cmds.c       Mon Dec 31 17:29:25 2007
18 ***************
19 *** 4212,4222 ****
20         sub_nlines = 0;
21       }
22   
23 - #ifdef FEAT_FKMAP     /* reverse the flow of the Farsi characters */
24 -     if (p_altkeymap && curwin->w_p_rl)
25 -       lrF_sub(cmd);
26 - #endif
27
28       if (eap->cmdidx == CMD_tilde)
29         which_pat = RE_LAST;    /* use last used regexp */
30       else
31 --- 4212,4217 ----
32 ***************
33 *** 4252,4257 ****
34 --- 4247,4256 ----
35         }
36         else            /* find the end of the regexp */
37         {
38 + #ifdef FEAT_FKMAP     /* reverse the flow of the Farsi characters */
39 +           if (p_altkeymap && curwin->w_p_rl)
40 +               lrF_sub(cmd);
41 + #endif
42             which_pat = RE_LAST;            /* use last used regexp */
43             delimiter = *cmd++;             /* remember delimiter character */
44             pat = cmd;                      /* remember start of search pat */
45 *** ../vim-7.1.180/src/version.c        Tue Jan  1 17:37:01 2008
46 --- src/version.c       Wed Jan  2 13:57:31 2008
47 ***************
48 *** 668,669 ****
49 --- 668,671 ----
50   {   /* Add new patch number below this line */
51 + /**/
52 +     181,
53   /**/
54
55 -- 
56 Yah, well, we had to carve our electrons out of driftwood we'd
57 find.  In the winter.  Uphill.  Both ways.
58
59  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
60 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
61 \\\        download, build and distribute -- http://www.A-A-P.org        ///
62  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.026853 seconds and 3 git commands to generate.