jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/7.4.074

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