home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.4 / 7.4.540 < prev    next >
Encoding:
Internet Message Format  |  2014-11-30  |  1.8 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.540
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.4.540 (after 7.4.539)
  11. Problem:    Cannot build with tiny and small features. (Taro Muraoka)
  12. Solution:   Add #ifdef around CMD_USER.
  13. Files:        src/ex_docmd.c
  14.  
  15.  
  16. *** ../vim-7.4.539/src/ex_docmd.c    2014-11-30 14:50:12.259356186 +0100
  17. --- src/ex_docmd.c    2014-11-30 22:32:24.213687119 +0100
  18. ***************
  19. *** 2129,2135 ****
  20.    * is equal to the lower.
  21.    */
  22.   
  23. !     if (ea.cmdidx != CMD_USER && ea.cmdidx != CMD_SIZE)
  24.       ea.addr_type = cmdnames[(int)ea.cmdidx].cmd_addr_type;
  25.       else
  26.       ea.addr_type = ADDR_LINES;
  27. --- 2129,2139 ----
  28.    * is equal to the lower.
  29.    */
  30.   
  31. !     if (ea.cmdidx != CMD_SIZE
  32. ! #ifdef FEAT_USR_CMDS
  33. !     && ea.cmdidx != CMD_USER
  34. ! #endif
  35. !        )
  36.       ea.addr_type = cmdnames[(int)ea.cmdidx].cmd_addr_type;
  37.       else
  38.       ea.addr_type = ADDR_LINES;
  39. *** ../vim-7.4.539/src/version.c    2014-11-30 14:50:12.259356186 +0100
  40. --- src/version.c    2014-11-30 22:34:06.820539874 +0100
  41. ***************
  42. *** 743,744 ****
  43. --- 743,746 ----
  44.   {   /* Add new patch number below this line */
  45. + /**/
  46. +     540,
  47.   /**/
  48.  
  49. -- 
  50. SECOND SOLDIER: It could be carried by an African swallow!
  51. FIRST SOLDIER:  Oh  yes! An African swallow maybe ... but not a European
  52.                 swallow. that's my point.
  53.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  54.  
  55.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  56. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  57. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  58.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  59.