lkundrak / rpms / vim

Forked from rpms/vim 4 years ago
Clone
0e8dc85
To: vim-dev@vim.org
0e8dc85
Subject: patch 7.1.029
0e8dc85
Fcc: outbox
0e8dc85
From: Bram Moolenaar <Bram@moolenaar.net>
0e8dc85
Mime-Version: 1.0
0e8dc85
Content-Type: text/plain; charset=ISO-8859-1
0e8dc85
Content-Transfer-Encoding: 8bit
0e8dc85
------------
0e8dc85
0e8dc85
Patch 7.1.029 (after 7.1.019)
0e8dc85
Problem:    Can't compile when all interfaces are used. (Taylor Venable)
0e8dc85
Solution:   Only check for ex_script_ni when it's defined.
0e8dc85
Files:	    src/ex_docmd.c
0e8dc85
0e8dc85
0e8dc85
*** ../vim-7.1.028/src/ex_docmd.c	Thu Jul  5 09:53:20 2007
0e8dc85
--- src/ex_docmd.c	Sun Jul 15 17:20:09 2007
0e8dc85
***************
0e8dc85
*** 133,138 ****
0e8dc85
--- 133,139 ----
0e8dc85
  static void	get_flags __ARGS((exarg_T *eap));
0e8dc85
  #if !defined(FEAT_PERL) || !defined(FEAT_PYTHON) || !defined(FEAT_TCL) \
0e8dc85
  	|| !defined(FEAT_RUBY) || !defined(FEAT_MZSCHEME)
0e8dc85
+ # define HAVE_EX_SCRIPT_NI
0e8dc85
  static void	ex_script_ni __ARGS((exarg_T *eap));
0e8dc85
  #endif
0e8dc85
  static char_u	*invalid_range __ARGS((exarg_T *eap));
0e8dc85
***************
0e8dc85
*** 2119,2125 ****
0e8dc85
  	    !USER_CMDIDX(ea.cmdidx) &&
0e8dc85
  #endif
0e8dc85
  	    (cmdnames[ea.cmdidx].cmd_func == ex_ni
0e8dc85
! 	     || cmdnames[ea.cmdidx].cmd_func == ex_script_ni));
0e8dc85
  
0e8dc85
  #ifndef FEAT_EVAL
0e8dc85
      /*
0e8dc85
--- 2120,2129 ----
0e8dc85
  	    !USER_CMDIDX(ea.cmdidx) &&
0e8dc85
  #endif
0e8dc85
  	    (cmdnames[ea.cmdidx].cmd_func == ex_ni
0e8dc85
! #ifdef HAVE_EX_SCRIPT_NI
0e8dc85
! 	     || cmdnames[ea.cmdidx].cmd_func == ex_script_ni
0e8dc85
! #endif
0e8dc85
! 	     ));
0e8dc85
  
0e8dc85
  #ifndef FEAT_EVAL
0e8dc85
      /*
0e8dc85
***************
0e8dc85
*** 3998,4005 ****
0e8dc85
  	eap->errmsg = (char_u *)N_("E319: Sorry, the command is not available in this version");
0e8dc85
  }
0e8dc85
  
0e8dc85
! #if !defined(FEAT_PERL) || !defined(FEAT_PYTHON) || !defined(FEAT_TCL) \
0e8dc85
! 	|| !defined(FEAT_RUBY) || !defined(FEAT_MZSCHEME)
0e8dc85
  /*
0e8dc85
   * Function called for script command which is Not Implemented.  NI!
0e8dc85
   * Skips over ":perl <
0e8dc85
--- 3999,4005 ----
0e8dc85
  	eap->errmsg = (char_u *)N_("E319: Sorry, the command is not available in this version");
0e8dc85
  }
0e8dc85
  
0e8dc85
! #ifdef HAVE_EX_SCRIPT_NI
0e8dc85
  /*
0e8dc85
   * Function called for script command which is Not Implemented.  NI!
0e8dc85
   * Skips over ":perl <
0e8dc85
*** ../vim-7.1.028/src/version.c	Tue Jul 10 17:25:20 2007
0e8dc85
--- src/version.c	Mon Jul 16 20:37:48 2007
0e8dc85
***************
0e8dc85
*** 668,669 ****
0e8dc85
--- 668,671 ----
0e8dc85
  {   /* Add new patch number below this line */
0e8dc85
+ /**/
0e8dc85
+     29,
0e8dc85
  /**/
0e8dc85
0e8dc85
-- 
0e8dc85
I used to wonder about the meaning of life.  But I looked it
0e8dc85
up in the dictionary under "L" and there it was - the meaning
0e8dc85
of life.  It was less than I expected.              - Dogbert
0e8dc85
0e8dc85
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
0e8dc85
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
0e8dc85
\\\        download, build and distribute -- http://www.A-A-P.org        ///
0e8dc85
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///