lkundrak / rpms / vim

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