|
Karsten Hopp |
24e5e9 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
24e5e9 |
Subject: Patch 7.1.181
|
|
Karsten Hopp |
24e5e9 |
Fcc: outbox
|
|
Karsten Hopp |
24e5e9 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
24e5e9 |
Mime-Version: 1.0
|
|
Karsten Hopp |
24e5e9 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
24e5e9 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
24e5e9 |
------------
|
|
Karsten Hopp |
24e5e9 |
|
|
Karsten Hopp |
24e5e9 |
Patch 7.1.181
|
|
Karsten Hopp |
24e5e9 |
Problem: Accessing uninitialized memory in Farsi mode. (Dominuque Pelle)
|
|
Karsten Hopp |
24e5e9 |
Solution: Only invoke lrF_sub() when there is something to do.
|
|
Karsten Hopp |
24e5e9 |
Files: src/ex_cmds.c
|
|
Karsten Hopp |
24e5e9 |
|
|
Karsten Hopp |
24e5e9 |
|
|
Karsten Hopp |
24e5e9 |
*** ../vim-7.1.180/src/ex_cmds.c Sun Dec 9 19:37:37 2007
|
|
Karsten Hopp |
24e5e9 |
--- src/ex_cmds.c Mon Dec 31 17:29:25 2007
|
|
Karsten Hopp |
24e5e9 |
***************
|
|
Karsten Hopp |
24e5e9 |
*** 4212,4222 ****
|
|
Karsten Hopp |
24e5e9 |
sub_nlines = 0;
|
|
Karsten Hopp |
24e5e9 |
}
|
|
Karsten Hopp |
24e5e9 |
|
|
Karsten Hopp |
24e5e9 |
- #ifdef FEAT_FKMAP /* reverse the flow of the Farsi characters */
|
|
Karsten Hopp |
24e5e9 |
- if (p_altkeymap && curwin->w_p_rl)
|
|
Karsten Hopp |
24e5e9 |
- lrF_sub(cmd);
|
|
Karsten Hopp |
24e5e9 |
- #endif
|
|
Karsten Hopp |
24e5e9 |
-
|
|
Karsten Hopp |
24e5e9 |
if (eap->cmdidx == CMD_tilde)
|
|
Karsten Hopp |
24e5e9 |
which_pat = RE_LAST; /* use last used regexp */
|
|
Karsten Hopp |
24e5e9 |
else
|
|
Karsten Hopp |
24e5e9 |
--- 4212,4217 ----
|
|
Karsten Hopp |
24e5e9 |
***************
|
|
Karsten Hopp |
24e5e9 |
*** 4252,4257 ****
|
|
Karsten Hopp |
24e5e9 |
--- 4247,4256 ----
|
|
Karsten Hopp |
24e5e9 |
}
|
|
Karsten Hopp |
24e5e9 |
else /* find the end of the regexp */
|
|
Karsten Hopp |
24e5e9 |
{
|
|
Karsten Hopp |
24e5e9 |
+ #ifdef FEAT_FKMAP /* reverse the flow of the Farsi characters */
|
|
Karsten Hopp |
24e5e9 |
+ if (p_altkeymap && curwin->w_p_rl)
|
|
Karsten Hopp |
24e5e9 |
+ lrF_sub(cmd);
|
|
Karsten Hopp |
24e5e9 |
+ #endif
|
|
Karsten Hopp |
24e5e9 |
which_pat = RE_LAST; /* use last used regexp */
|
|
Karsten Hopp |
24e5e9 |
delimiter = *cmd++; /* remember delimiter character */
|
|
Karsten Hopp |
24e5e9 |
pat = cmd; /* remember start of search pat */
|
|
Karsten Hopp |
24e5e9 |
*** ../vim-7.1.180/src/version.c Tue Jan 1 17:37:01 2008
|
|
Karsten Hopp |
24e5e9 |
--- src/version.c Wed Jan 2 13:57:31 2008
|
|
Karsten Hopp |
24e5e9 |
***************
|
|
Karsten Hopp |
24e5e9 |
*** 668,669 ****
|
|
Karsten Hopp |
24e5e9 |
--- 668,671 ----
|
|
Karsten Hopp |
24e5e9 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
24e5e9 |
+ /**/
|
|
Karsten Hopp |
24e5e9 |
+ 181,
|
|
Karsten Hopp |
24e5e9 |
/**/
|
|
Karsten Hopp |
24e5e9 |
|
|
Karsten Hopp |
24e5e9 |
--
|
|
Karsten Hopp |
24e5e9 |
Yah, well, we had to carve our electrons out of driftwood we'd
|
|
Karsten Hopp |
24e5e9 |
find. In the winter. Uphill. Both ways.
|
|
Karsten Hopp |
24e5e9 |
|
|
Karsten Hopp |
24e5e9 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
24e5e9 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
24e5e9 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
24e5e9 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|