Blame SOURCES/7.4.074

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