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 / 6.2.135 < prev    next >
Encoding:
Internet Message Format  |  2003-10-25  |  1.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.135
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.2.135
  11. Problem:    An item <> in the ":command" argument is interpreted as <args>.
  12. Solution:   Avoid that <> is recognized as <args>.
  13. Files:        src/ex_docmd.c
  14.  
  15.  
  16. *** ../vim-6.2.134/src/ex_docmd.c    Sun Oct 12 20:20:38 2003
  17. --- src/ex_docmd.c    Sun Oct 26 20:09:58 2003
  18. ***************
  19. *** 5015,5021 ****
  20.       l -= 2;
  21.       }
  22.   
  23. !     if (STRNICMP(p, "args", l) == 0)
  24.       type = ct_ARGS;
  25.       else if (STRNICMP(p, "bang", l) == 0)
  26.       type = ct_BANG;
  27. --- 5015,5023 ----
  28.       l -= 2;
  29.       }
  30.   
  31. !     if (l < 1)
  32. !     type = ct_NONE;
  33. !     else if (STRNICMP(p, "args", l) == 0)
  34.       type = ct_ARGS;
  35.       else if (STRNICMP(p, "bang", l) == 0)
  36.       type = ct_BANG;
  37. *** ../vim-6.2.134/src/version.c    Sun Oct 26 21:00:14 2003
  38. --- src/version.c    Sun Oct 26 20:11:38 2003
  39. ***************
  40. *** 639,640 ****
  41. --- 639,642 ----
  42.   {   /* Add new patch number below this line */
  43. + /**/
  44. +     135,
  45.   /**/
  46.  
  47. -- 
  48. "Hegel was right when he said that we learn from history that man can
  49. never learn anything from history."       (George Bernard Shaw)
  50.  
  51.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  52. ///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
  53. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  54.  \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
  55.