home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.4 / 7.4.477 < prev    next >
Encoding:
Internet Message Format  |  2014-10-15  |  1.6 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.477
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.4.477
  11. Problem:    When using ":%diffput" and the other file is empty an extra empty
  12.         line remains.
  13. Solution:   Set the buf_empty flag.
  14. Files:        src/diff.c
  15.  
  16.  
  17. *** ../vim-7.4.476/src/diff.c    2014-05-28 11:35:33.424011248 +0200
  18. --- src/diff.c    2014-10-15 12:54:45.778015697 +0200
  19. ***************
  20. *** 2325,2331 ****
  21.               end_skip = 0;
  22.           }
  23.   
  24. !         buf_empty = FALSE;
  25.           added = 0;
  26.           for (i = 0; i < count; ++i)
  27.           {
  28. --- 2325,2331 ----
  29.               end_skip = 0;
  30.           }
  31.   
  32. !         buf_empty = bufempty();
  33.           added = 0;
  34.           for (i = 0; i < count; ++i)
  35.           {
  36. *** ../vim-7.4.476/src/version.c    2014-10-15 12:07:07.610009454 +0200
  37. --- src/version.c    2014-10-15 12:37:54.338013488 +0200
  38. ***************
  39. *** 743,744 ****
  40. --- 743,746 ----
  41.   {   /* Add new patch number below this line */
  42. + /**/
  43. +     477,
  44.   /**/
  45.  
  46. -- 
  47.        We're knights of the round table
  48.        We dance whene'er we're able
  49.        We do routines and chorus scenes
  50.        With footwork impeccable.
  51.        We dine well here in Camelot
  52.        We eat ham and jam and spam a lot.
  53.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  54.  
  55.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  56. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  57. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  58.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  59.