Patch 7.4.074
Problem:    When undo'ing all changes and creating a new change the undo
            structure is incorrect. (Christian Brabandt)
Solution:   When deleting the branch starting at the old header, delete the
            whole branch, not just the first entry.
Files:      src/undo.c
    

*** ../vim-7.4.073/src/undo.c   2013-11-06 05:26:08.000000000 +0100
--- src/undo.c  2013-11-07 03:01:42.000000000 +0100
***************
*** 3121,3127 ****
       * all the pointers. */
      if (uhp == buf->b_u_oldhead)
      {
!       u_freeheader(buf, uhp, uhpp);
        return;
      }
  
--- 3121,3128 ----
       * all the pointers. */
      if (uhp == buf->b_u_oldhead)
      {
!       while (buf->b_u_oldhead != NULL)
!           u_freeheader(buf, buf->b_u_oldhead, uhpp);
        return;
      }
  
*** ../vim-7.4.073/src/version.c        2013-11-06 05:26:08.000000000 +0100
--- src/version.c       2013-11-07 03:03:02.000000000 +0100
***************
*** 740,741 ****
--- 740,743 ----
  {   /* Add new patch number below this line */
+ /**/
+     74,
  /**/

-- 
LETTERS TO THE EDITOR (The Times of London)

Dear Sir,

I am firmly opposed to the spread of microchips either to the home or
to the office.  We have more than enough of them foisted upon us in
public places.  They are a disgusting Americanism, and can only result
in the farmers being forced to grow smaller potatoes, which in turn
will cause massive unemployment in the already severely depressed
agricultural industry.

Yours faithfully,
        Capt. Quinton D'Arcy, J. P.
        Sevenoaks

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui