|
Karsten Hopp |
0fc415 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
0fc415 |
Subject: Patch 7.4.725
|
|
Karsten Hopp |
0fc415 |
Fcc: outbox
|
|
Karsten Hopp |
0fc415 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
0fc415 |
Mime-Version: 1.0
|
|
Karsten Hopp |
0fc415 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
0fc415 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
0fc415 |
------------
|
|
Karsten Hopp |
0fc415 |
|
|
Karsten Hopp |
0fc415 |
Patch 7.4.725
|
|
Karsten Hopp |
0fc415 |
Problem: ":call setreg('"', [])" reports an internal error.
|
|
Karsten Hopp |
0fc415 |
Solution: Make the register empty. (Yasuhiro Matsumoto)
|
|
Karsten Hopp |
0fc415 |
Files: src/ops.c
|
|
Karsten Hopp |
0fc415 |
|
|
Karsten Hopp |
0fc415 |
|
|
Karsten Hopp |
0fc415 |
*** ../vim-7.4.724/src/ops.c 2015-02-03 18:36:40.401033677 +0100
|
|
Karsten Hopp |
0fc415 |
--- src/ops.c 2015-05-04 20:13:12.357598140 +0200
|
|
Karsten Hopp |
0fc415 |
***************
|
|
Karsten Hopp |
0fc415 |
*** 6642,6647 ****
|
|
Karsten Hopp |
0fc415 |
--- 6642,6655 ----
|
|
Karsten Hopp |
0fc415 |
}
|
|
Karsten Hopp |
0fc415 |
}
|
|
Karsten Hopp |
0fc415 |
|
|
Karsten Hopp |
0fc415 |
+ /* Without any lines make the register empty. */
|
|
Karsten Hopp |
0fc415 |
+ if (y_ptr->y_size + newlines == 0)
|
|
Karsten Hopp |
0fc415 |
+ {
|
|
Karsten Hopp |
0fc415 |
+ vim_free(y_ptr->y_array);
|
|
Karsten Hopp |
0fc415 |
+ y_ptr->y_array = NULL;
|
|
Karsten Hopp |
0fc415 |
+ return;
|
|
Karsten Hopp |
0fc415 |
+ }
|
|
Karsten Hopp |
0fc415 |
+
|
|
Karsten Hopp |
0fc415 |
/*
|
|
Karsten Hopp |
0fc415 |
* Allocate an array to hold the pointers to the new register lines.
|
|
Karsten Hopp |
0fc415 |
* If the register was not empty, move the existing lines to the new array.
|
|
Karsten Hopp |
0fc415 |
*** ../vim-7.4.724/src/version.c 2015-05-04 18:27:29.920714802 +0200
|
|
Karsten Hopp |
0fc415 |
--- src/version.c 2015-05-04 20:11:52.326492918 +0200
|
|
Karsten Hopp |
0fc415 |
***************
|
|
Karsten Hopp |
0fc415 |
*** 743,744 ****
|
|
Karsten Hopp |
0fc415 |
--- 743,746 ----
|
|
Karsten Hopp |
0fc415 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
0fc415 |
+ /**/
|
|
Karsten Hopp |
0fc415 |
+ 725,
|
|
Karsten Hopp |
0fc415 |
/**/
|
|
Karsten Hopp |
0fc415 |
|
|
Karsten Hopp |
0fc415 |
--
|
|
Karsten Hopp |
0fc415 |
How To Keep A Healthy Level Of Insanity:
|
|
Karsten Hopp |
0fc415 |
6. In the memo field of all your checks, write "for sexual favors".
|
|
Karsten Hopp |
0fc415 |
|
|
Karsten Hopp |
0fc415 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
0fc415 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
0fc415 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
0fc415 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|