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.273 < prev    next >
Encoding:
Internet Message Format  |  2004-02-18  |  1.8 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.273
  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.273
  11. Problem:    Changing the sort order in an explorer window for an empty
  12.         directory produces error messages. (Doug Kearns)
  13. Solution:   When an invalid range is used for a function that is not going to
  14.         be executed, skip over the arguments anyway.
  15. Files:        src/eval.c
  16.  
  17.  
  18. *** ../vim-6.2.272/src/eval.c    Tue Feb  3 17:25:35 2004
  19. --- src/eval.c    Wed Feb 18 12:00:45 2004
  20. ***************
  21. *** 1315,1322 ****
  22.        * call, and the loop is broken.
  23.        */
  24.       if (eap->skip)
  25.       ++emsg_skip;
  26. !     for (lnum = eap->line1; lnum <= eap->line2; ++lnum)
  27.       {
  28.       if (!eap->skip && eap->addr_count > 0)
  29.       {
  30. --- 1315,1327 ----
  31.        * call, and the loop is broken.
  32.        */
  33.       if (eap->skip)
  34. +     {
  35.       ++emsg_skip;
  36. !     lnum = eap->line2;    /* do it once, also with an invalid range */
  37. !     }
  38. !     else
  39. !     lnum = eap->line1;
  40. !     for ( ; lnum <= eap->line2; ++lnum)
  41.       {
  42.       if (!eap->skip && eap->addr_count > 0)
  43.       {
  44. *** ../vim-6.2.272/src/version.c    Thu Feb 19 14:48:06 2004
  45. --- src/version.c    Thu Feb 19 15:08:05 2004
  46. ***************
  47. *** 639,640 ****
  48. --- 639,642 ----
  49.   {   /* Add new patch number below this line */
  50. + /**/
  51. +     273,
  52.   /**/
  53.  
  54. -- 
  55. hundred-and-one symptoms of being an internet addict:
  56. 187. You promise yourself that you'll only stay online for another
  57.      15 minutes...at least once every hour.
  58.  
  59.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  60. ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  61. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  62.  \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
  63.