jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/7.4.074

dcaee6
To: vim_dev@googlegroups.com
dcaee6
Subject: Patch 7.4.074
dcaee6
Fcc: outbox
dcaee6
From: Bram Moolenaar <Bram@moolenaar.net>
dcaee6
Mime-Version: 1.0
dcaee6
Content-Type: text/plain; charset=UTF-8
dcaee6
Content-Transfer-Encoding: 8bit
dcaee6
------------
dcaee6
dcaee6
Patch 7.4.074
dcaee6
Problem:    When undo'ing all changes and creating a new change the undo
dcaee6
            structure is incorrect. (Christian Brabandt)
dcaee6
Solution:   When deleting the branch starting at the old header, delete the
dcaee6
            whole branch, not just the first entry.
dcaee6
Files:      src/undo.c
dcaee6
    
dcaee6
dcaee6
*** ../vim-7.4.073/src/undo.c	2013-11-06 05:26:08.000000000 +0100
dcaee6
--- src/undo.c	2013-11-07 03:01:42.000000000 +0100
dcaee6
***************
dcaee6
*** 3121,3127 ****
dcaee6
       * all the pointers. */
dcaee6
      if (uhp == buf->b_u_oldhead)
dcaee6
      {
dcaee6
! 	u_freeheader(buf, uhp, uhpp);
dcaee6
  	return;
dcaee6
      }
dcaee6
  
dcaee6
--- 3121,3128 ----
dcaee6
       * all the pointers. */
dcaee6
      if (uhp == buf->b_u_oldhead)
dcaee6
      {
dcaee6
! 	while (buf->b_u_oldhead != NULL)
dcaee6
! 	    u_freeheader(buf, buf->b_u_oldhead, uhpp);
dcaee6
  	return;
dcaee6
      }
dcaee6
  
dcaee6
*** ../vim-7.4.073/src/version.c	2013-11-06 05:26:08.000000000 +0100
dcaee6
--- src/version.c	2013-11-07 03:03:02.000000000 +0100
dcaee6
***************
dcaee6
*** 740,741 ****
dcaee6
--- 740,743 ----
dcaee6
  {   /* Add new patch number below this line */
dcaee6
+ /**/
dcaee6
+     74,
dcaee6
  /**/
dcaee6
dcaee6
-- 
dcaee6
LETTERS TO THE EDITOR (The Times of London)
dcaee6
dcaee6
Dear Sir,
dcaee6
dcaee6
I am firmly opposed to the spread of microchips either to the home or
dcaee6
to the office.  We have more than enough of them foisted upon us in
dcaee6
public places.  They are a disgusting Americanism, and can only result
dcaee6
in the farmers being forced to grow smaller potatoes, which in turn
dcaee6
will cause massive unemployment in the already severely depressed
dcaee6
agricultural industry.
dcaee6
dcaee6
Yours faithfully,
dcaee6
        Capt. Quinton D'Arcy, J. P.
dcaee6
        Sevenoaks
dcaee6
dcaee6
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
dcaee6
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
dcaee6
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
dcaee6
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///