|
Karsten Hopp |
9c82c0 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
9c82c0 |
Subject: Patch 7.4.477
|
|
Karsten Hopp |
9c82c0 |
Fcc: outbox
|
|
Karsten Hopp |
9c82c0 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
9c82c0 |
Mime-Version: 1.0
|
|
Karsten Hopp |
9c82c0 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
9c82c0 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
9c82c0 |
------------
|
|
Karsten Hopp |
9c82c0 |
|
|
Karsten Hopp |
9c82c0 |
Patch 7.4.477
|
|
Karsten Hopp |
9c82c0 |
Problem: When using ":%diffput" and the other file is empty an extra empty
|
|
Karsten Hopp |
9c82c0 |
line remains.
|
|
Karsten Hopp |
9c82c0 |
Solution: Set the buf_empty flag.
|
|
Karsten Hopp |
9c82c0 |
Files: src/diff.c
|
|
Karsten Hopp |
9c82c0 |
|
|
Karsten Hopp |
9c82c0 |
|
|
Karsten Hopp |
9c82c0 |
*** ../vim-7.4.476/src/diff.c 2014-05-28 11:35:33.424011248 +0200
|
|
Karsten Hopp |
9c82c0 |
--- src/diff.c 2014-10-15 12:54:45.778015697 +0200
|
|
Karsten Hopp |
9c82c0 |
***************
|
|
Karsten Hopp |
9c82c0 |
*** 2325,2331 ****
|
|
Karsten Hopp |
9c82c0 |
end_skip = 0;
|
|
Karsten Hopp |
9c82c0 |
}
|
|
Karsten Hopp |
9c82c0 |
|
|
Karsten Hopp |
9c82c0 |
! buf_empty = FALSE;
|
|
Karsten Hopp |
9c82c0 |
added = 0;
|
|
Karsten Hopp |
9c82c0 |
for (i = 0; i < count; ++i)
|
|
Karsten Hopp |
9c82c0 |
{
|
|
Karsten Hopp |
9c82c0 |
--- 2325,2331 ----
|
|
Karsten Hopp |
9c82c0 |
end_skip = 0;
|
|
Karsten Hopp |
9c82c0 |
}
|
|
Karsten Hopp |
9c82c0 |
|
|
Karsten Hopp |
9c82c0 |
! buf_empty = bufempty();
|
|
Karsten Hopp |
9c82c0 |
added = 0;
|
|
Karsten Hopp |
9c82c0 |
for (i = 0; i < count; ++i)
|
|
Karsten Hopp |
9c82c0 |
{
|
|
Karsten Hopp |
9c82c0 |
*** ../vim-7.4.476/src/version.c 2014-10-15 12:07:07.610009454 +0200
|
|
Karsten Hopp |
9c82c0 |
--- src/version.c 2014-10-15 12:37:54.338013488 +0200
|
|
Karsten Hopp |
9c82c0 |
***************
|
|
Karsten Hopp |
9c82c0 |
*** 743,744 ****
|
|
Karsten Hopp |
9c82c0 |
--- 743,746 ----
|
|
Karsten Hopp |
9c82c0 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
9c82c0 |
+ /**/
|
|
Karsten Hopp |
9c82c0 |
+ 477,
|
|
Karsten Hopp |
9c82c0 |
/**/
|
|
Karsten Hopp |
9c82c0 |
|
|
Karsten Hopp |
9c82c0 |
--
|
|
Karsten Hopp |
9c82c0 |
We're knights of the round table
|
|
Karsten Hopp |
9c82c0 |
We dance whene'er we're able
|
|
Karsten Hopp |
9c82c0 |
We do routines and chorus scenes
|
|
Karsten Hopp |
9c82c0 |
With footwork impeccable.
|
|
Karsten Hopp |
9c82c0 |
We dine well here in Camelot
|
|
Karsten Hopp |
9c82c0 |
We eat ham and jam and spam a lot.
|
|
Karsten Hopp |
9c82c0 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
9c82c0 |
|
|
Karsten Hopp |
9c82c0 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
9c82c0 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
9c82c0 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
9c82c0 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|