|
Karsten Hopp |
bdb876 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
bdb876 |
Subject: Patch 7.4.245
|
|
Karsten Hopp |
bdb876 |
Fcc: outbox
|
|
Karsten Hopp |
bdb876 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
bdb876 |
Mime-Version: 1.0
|
|
Karsten Hopp |
bdb876 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
bdb876 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
bdb876 |
------------
|
|
Karsten Hopp |
bdb876 |
|
|
Karsten Hopp |
bdb876 |
Patch 7.4.245
|
|
Karsten Hopp |
bdb876 |
Problem: Crash for "vim -u NONE -N -c '&&'".
|
|
Karsten Hopp |
bdb876 |
Solution: Check for the pattern to be NULL. (Dominique Pelle)
|
|
Karsten Hopp |
bdb876 |
Files: src/ex_cmds.c
|
|
Karsten Hopp |
bdb876 |
|
|
Karsten Hopp |
bdb876 |
|
|
Karsten Hopp |
bdb876 |
*** ../vim-7.4.244/src/ex_cmds.c 2014-04-01 17:49:40.136891378 +0200
|
|
Karsten Hopp |
bdb876 |
--- src/ex_cmds.c 2014-04-04 18:56:00.159939544 +0200
|
|
Karsten Hopp |
bdb876 |
***************
|
|
Karsten Hopp |
bdb876 |
*** 4425,4431 ****
|
|
Karsten Hopp |
bdb876 |
* TODO: find a generic solution to make line-joining operations more
|
|
Karsten Hopp |
bdb876 |
* efficient, avoid allocating a string that grows in size.
|
|
Karsten Hopp |
bdb876 |
*/
|
|
Karsten Hopp |
bdb876 |
! if (STRCMP(pat, "\\n") == 0 && STRLEN(pat) == 2
|
|
Karsten Hopp |
bdb876 |
&& *sub == NUL
|
|
Karsten Hopp |
bdb876 |
&& (*cmd == NUL || (cmd[1] == NUL && (*cmd == 'g' || *cmd == 'l'
|
|
Karsten Hopp |
bdb876 |
|| *cmd == 'p' || *cmd == '#'))))
|
|
Karsten Hopp |
bdb876 |
--- 4425,4431 ----
|
|
Karsten Hopp |
bdb876 |
* TODO: find a generic solution to make line-joining operations more
|
|
Karsten Hopp |
bdb876 |
* efficient, avoid allocating a string that grows in size.
|
|
Karsten Hopp |
bdb876 |
*/
|
|
Karsten Hopp |
bdb876 |
! if (pat != NULL && STRCMP(pat, "\\n") == 0
|
|
Karsten Hopp |
bdb876 |
&& *sub == NUL
|
|
Karsten Hopp |
bdb876 |
&& (*cmd == NUL || (cmd[1] == NUL && (*cmd == 'g' || *cmd == 'l'
|
|
Karsten Hopp |
bdb876 |
|| *cmd == 'p' || *cmd == '#'))))
|
|
Karsten Hopp |
bdb876 |
*** ../vim-7.4.244/src/version.c 2014-04-02 23:09:23.003439001 +0200
|
|
Karsten Hopp |
bdb876 |
--- src/version.c 2014-04-04 18:52:21.519939067 +0200
|
|
Karsten Hopp |
bdb876 |
***************
|
|
Karsten Hopp |
bdb876 |
*** 736,737 ****
|
|
Karsten Hopp |
bdb876 |
--- 736,739 ----
|
|
Karsten Hopp |
bdb876 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
bdb876 |
+ /**/
|
|
Karsten Hopp |
bdb876 |
+ 245,
|
|
Karsten Hopp |
bdb876 |
/**/
|
|
Karsten Hopp |
bdb876 |
|
|
Karsten Hopp |
bdb876 |
--
|
|
Karsten Hopp |
bdb876 |
One difference between a man and a machine is that a machine is quiet
|
|
Karsten Hopp |
bdb876 |
when well oiled.
|
|
Karsten Hopp |
bdb876 |
|
|
Karsten Hopp |
bdb876 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
bdb876 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
bdb876 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
bdb876 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|