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.459 < prev    next >
Encoding:
Internet Message Format  |  2004-04-06  |  1.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.459
  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.459 (after 6.2.454)
  11. Problem:    Variable "b" cannot be written. (Salman Halim)
  12. Solution:   Compare strings properly.
  13. Files:        src/eval.c
  14.  
  15. *** ../vim-6.2.458/src/eval.c    Tue Apr  6 20:14:01 2004
  16. --- src/eval.c    Wed Apr  7 17:55:20 2004
  17. ***************
  18. *** 1157,1163 ****
  19.   
  20.           if (*skipwhite(p) != '=')
  21.               EMSG(_(e_letunexp));
  22. !         else if (STRNCMP(arg, "b:changedtick", p - arg) == 0)
  23.               EMSG2(_(e_readonlyvar), arg);
  24.   #ifdef FEAT_MAGIC_BRACES
  25.           else if (expr_start != NULL)
  26. --- 1157,1164 ----
  27.   
  28.           if (*skipwhite(p) != '=')
  29.               EMSG(_(e_letunexp));
  30. !         else if (p - arg == 13
  31. !                     && STRNCMP(arg, "b:changedtick", 13) == 0)
  32.               EMSG2(_(e_readonlyvar), arg);
  33.   #ifdef FEAT_MAGIC_BRACES
  34.           else if (expr_start != NULL)
  35. *** ../vim-6.2.458/src/version.c    Wed Apr  7 13:14:18 2004
  36. --- src/version.c    Wed Apr  7 19:47:51 2004
  37. ***************
  38. *** 639,640 ****
  39. --- 639,642 ----
  40.   {   /* Add new patch number below this line */
  41. + /**/
  42. +     459,
  43.   /**/
  44.  
  45. -- 
  46. I have to exercise early in the morning before my brain
  47. figures out what I'm doing.
  48.  
  49.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  50. ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  51. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  52.  \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
  53.