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.3 / 7.3.802 < prev    next >
Encoding:
Internet Message Format  |  2013-02-05  |  1.4 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.802
  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.3.802
  11. Problem:    After setting 'isk' to a value ending in a comma appending to the
  12.         option fails.
  13. Solution:   Disallow a trailing comma for 'isk' and similar options.
  14. Files:        src/charset.c
  15.  
  16.  
  17. *** ../vim-7.3.801/src/charset.c    2013-01-30 17:30:14.000000000 +0100
  18. --- src/charset.c    2013-02-06 16:20:01.000000000 +0100
  19. ***************
  20. *** 284,290 ****
  21. --- 284,295 ----
  22.           }
  23.           ++c;
  24.           }
  25. +         c = *p;
  26.           p = skip_to_option_part(p);
  27. +         if (c == ',' && *p == NUL)
  28. +         /* Trailing comma is not allowed. */
  29. +         return FAIL;
  30.       }
  31.       }
  32.       chartab_initialized = TRUE;
  33. *** ../vim-7.3.801/src/version.c    2013-02-06 13:37:58.000000000 +0100
  34. --- src/version.c    2013-02-06 16:21:18.000000000 +0100
  35. ***************
  36. *** 727,728 ****
  37. --- 727,730 ----
  38.   {   /* Add new patch number below this line */
  39. + /**/
  40. +     802,
  41.   /**/
  42.  
  43. -- 
  44. Dreams are free, but there's a small charge for alterations.
  45.  
  46.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  47. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  48. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  49.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  50.