Karsten Hopp f50f86
To: vim_dev@googlegroups.com
Karsten Hopp f50f86
Subject: Patch 7.4.540
Karsten Hopp f50f86
Fcc: outbox
Karsten Hopp f50f86
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp f50f86
Mime-Version: 1.0
Karsten Hopp f50f86
Content-Type: text/plain; charset=UTF-8
Karsten Hopp f50f86
Content-Transfer-Encoding: 8bit
Karsten Hopp f50f86
------------
Karsten Hopp f50f86
Karsten Hopp f50f86
Patch 7.4.540 (after 7.4.539)
Karsten Hopp f50f86
Problem:    Cannot build with tiny and small features. (Taro Muraoka)
Karsten Hopp f50f86
Solution:   Add #ifdef around CMD_USER.
Karsten Hopp f50f86
Files:	    src/ex_docmd.c
Karsten Hopp f50f86
Karsten Hopp f50f86
Karsten Hopp f50f86
*** ../vim-7.4.539/src/ex_docmd.c	2014-11-30 14:50:12.259356186 +0100
Karsten Hopp f50f86
--- src/ex_docmd.c	2014-11-30 22:32:24.213687119 +0100
Karsten Hopp f50f86
***************
Karsten Hopp f50f86
*** 2129,2135 ****
Karsten Hopp f50f86
   * is equal to the lower.
Karsten Hopp f50f86
   */
Karsten Hopp f50f86
  
Karsten Hopp f50f86
!     if (ea.cmdidx != CMD_USER && ea.cmdidx != CMD_SIZE)
Karsten Hopp f50f86
  	ea.addr_type = cmdnames[(int)ea.cmdidx].cmd_addr_type;
Karsten Hopp f50f86
      else
Karsten Hopp f50f86
  	ea.addr_type = ADDR_LINES;
Karsten Hopp f50f86
--- 2129,2139 ----
Karsten Hopp f50f86
   * is equal to the lower.
Karsten Hopp f50f86
   */
Karsten Hopp f50f86
  
Karsten Hopp f50f86
!     if (ea.cmdidx != CMD_SIZE
Karsten Hopp f50f86
! #ifdef FEAT_USR_CMDS
Karsten Hopp f50f86
! 	&& ea.cmdidx != CMD_USER
Karsten Hopp f50f86
! #endif
Karsten Hopp f50f86
!        )
Karsten Hopp f50f86
  	ea.addr_type = cmdnames[(int)ea.cmdidx].cmd_addr_type;
Karsten Hopp f50f86
      else
Karsten Hopp f50f86
  	ea.addr_type = ADDR_LINES;
Karsten Hopp f50f86
*** ../vim-7.4.539/src/version.c	2014-11-30 14:50:12.259356186 +0100
Karsten Hopp f50f86
--- src/version.c	2014-11-30 22:34:06.820539874 +0100
Karsten Hopp f50f86
***************
Karsten Hopp f50f86
*** 743,744 ****
Karsten Hopp f50f86
--- 743,746 ----
Karsten Hopp f50f86
  {   /* Add new patch number below this line */
Karsten Hopp f50f86
+ /**/
Karsten Hopp f50f86
+     540,
Karsten Hopp f50f86
  /**/
Karsten Hopp f50f86
Karsten Hopp f50f86
-- 
Karsten Hopp f50f86
SECOND SOLDIER: It could be carried by an African swallow!
Karsten Hopp f50f86
FIRST SOLDIER:  Oh  yes! An African swallow maybe ... but not a European
Karsten Hopp f50f86
                swallow. that's my point.
Karsten Hopp f50f86
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp f50f86
Karsten Hopp f50f86
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp f50f86
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp f50f86
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp f50f86
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///