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.1.123 < prev    next >
Encoding:
Internet Message Format  |  2002-07-03  |  1.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.123
  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.1.123
  11. Problem:    A ":match" command with more than one argument doesn't report an
  12.         error.
  13. Solution:   Check for extra characters. (Servatius Brandt)
  14. Files:        src/ex_docmd.c
  15.  
  16.  
  17. *** ../vim61.122/src/ex_docmd.c    Sat May 11 20:47:01 2002
  18. --- src/ex_docmd.c    Tue Jul  2 20:04:13 2002
  19. ***************
  20. *** 8912,8917 ****
  21. --- 8920,8931 ----
  22.           return;
  23.       }
  24.       end = skip_regexp(p + 1, *p, TRUE, NULL);
  25. +     if (*end != NUL && !ends_excmd(*skipwhite(end + 1)))
  26. +     {
  27. +         eap->errmsg = e_trailing;
  28. +         return;
  29. +     }
  30.       if (!eap->skip)
  31.       {
  32.           c = *end;
  33. *** ../vim61.122/src/version.c    Thu Jul  4 20:55:17 2002
  34. --- src/version.c    Thu Jul  4 20:57:07 2002
  35. ***************
  36. *** 608,609 ****
  37. --- 608,611 ----
  38.   {   /* Add new patch number below this line */
  39. + /**/
  40. +     123,
  41.   /**/
  42.  
  43. -- 
  44. User:       I'm having problems with my text editor.
  45. Help desk:  Which editor are you using?
  46. User:       I don't know, but it's version VI (pronounced: 6).
  47. Help desk:  Oh, then you should upgrade to version VIM (pronounced: 994).
  48.  
  49.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  50. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  51. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  52.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  53.