073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.415
073263
Fcc: outbox
073263
From: Bram Moolenaar <Bram@moolenaar.net>
073263
Mime-Version: 1.0
073263
Content-Type: text/plain; charset=UTF-8
073263
Content-Transfer-Encoding: 8bit
073263
------------
073263
073263
Patch 7.4.415 (after 7.4.414)
073263
Problem:    Cannot build.  Warning for shadowed variable. (John Little)
073263
Solution:   Add missing change.  Remove declaration.
073263
Files:	    src/vim.h, src/ex_docmd.c
073263
073263
073263
*** ../vim-7.4.414/src/vim.h	2014-08-06 14:52:05.047236174 +0200
073263
--- src/vim.h	2014-08-22 20:26:19.522953712 +0200
073263
***************
073263
*** 1326,1331 ****
073263
--- 1326,1332 ----
073263
      EVENT_SHELLFILTERPOST,	/* after ":1,2!cmd", ":w !cmd", ":r !cmd". */
073263
      EVENT_TEXTCHANGED,		/* text was modified */
073263
      EVENT_TEXTCHANGEDI,		/* text was modified in Insert mode*/
073263
+     EVENT_CMDUNDEFINED,		/* command undefined */
073263
      NUM_EVENTS			/* MUST be the last one */
073263
  };
073263
  
073263
*** ../vim-7.4.414/src/ex_docmd.c	2014-08-22 23:05:50.102606614 +0200
073263
--- src/ex_docmd.c	2014-08-23 14:11:52.640635039 +0200
073263
***************
073263
*** 2150,2158 ****
073263
  	    && ASCII_ISUPPER(*ea.cmd)
073263
  	    && has_cmdundefined())
073263
      {
073263
- 	char_u *p = ea.cmd;
073263
  	int ret;
073263
  
073263
  	while (ASCII_ISALNUM(*p))
073263
  	    ++p;
073263
  	p = vim_strnsave(ea.cmd, p - ea.cmd);
073263
--- 2150,2158 ----
073263
  	    && ASCII_ISUPPER(*ea.cmd)
073263
  	    && has_cmdundefined())
073263
      {
073263
  	int ret;
073263
  
073263
+ 	p = ea.cmd;
073263
  	while (ASCII_ISALNUM(*p))
073263
  	    ++p;
073263
  	p = vim_strnsave(ea.cmd, p - ea.cmd);
073263
*** ../vim-7.4.415/src/version.c	2014-08-22 23:05:50.106606614 +0200
073263
--- src/version.c	2014-08-23 14:15:50.620626408 +0200
073263
***************
073263
*** 743,744 ****
073263
--- 743,746 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     415,
073263
  /**/
073263
073263
-- 
073263
CVS sux, men don't like commitment
073263
073263
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
073263
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
073263
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
073263
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///