rpms/vim/FC-6 7.0.220,NONE,1.1

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu May 3 09:03:45 UTC 2007


Author: karsten

Update of /cvs/dist/rpms/vim/FC-6
In directory cvs.devel.redhat.com:/tmp/cvs-serv15758

Added Files:
	7.0.220 
Log Message:
Patchlevel 220


--- NEW FILE 7.0.220 ---
To: vim-dev at vim.org
Subject: patch 7.0.220
Fcc: outbox
From: Bram Moolenaar <Bram at moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------

Patch 7.0.220
Problem:    Crash when using winnr('#') in a new tab page. (Andy Wokula)
Solution:   Check for not finding the window.
Files:	    src/eval.c


*** ../vim-7.0.219/src/eval.c	Tue Feb 20 03:18:20 2007
--- src/eval.c	Sun Mar 25 17:43:53 2007
***************
*** 15769,15775 ****
--- 15769,15783 ----
      if (nr > 0)
  	for (wp = (tp == curtab) ? firstwin : tp->tp_firstwin;
  					      wp != twin; wp = wp->w_next)
+ 	{
+ 	    if (wp == NULL)
+ 	    {
+ 		/* didn't find it in this tabpage */
+ 		nr = 0;
+ 		break;
+ 	    }
  	    ++nr;
+ 	}
      return nr;
  }
  #endif
*** ../vim-7.0.219/src/version.c	Sun Mar 18 21:52:09 2007
--- src/version.c	Sun Mar 25 17:48:20 2007
***************
*** 668,669 ****
--- 668,671 ----
  {   /* Add new patch number below this line */
+ /**/
+     220,
  /**/

-- 
Men may not be seen publicly in any kind of strapless gown.
		[real standing law in Florida, United States of America]

 /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///




More information about the fedora-cvs-commits mailing list