Karsten Hopp c3bdb2
To: vim_dev@googlegroups.com
Karsten Hopp c3bdb2
Subject: Patch 7.3.802
Karsten Hopp c3bdb2
Fcc: outbox
Karsten Hopp c3bdb2
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp c3bdb2
Mime-Version: 1.0
Karsten Hopp c3bdb2
Content-Type: text/plain; charset=UTF-8
Karsten Hopp c3bdb2
Content-Transfer-Encoding: 8bit
Karsten Hopp c3bdb2
------------
Karsten Hopp c3bdb2
Karsten Hopp c3bdb2
Patch 7.3.802
Karsten Hopp c3bdb2
Problem:    After setting 'isk' to a value ending in a comma appending to the
Karsten Hopp c3bdb2
	    option fails.
Karsten Hopp c3bdb2
Solution:   Disallow a trailing comma for 'isk' and similar options.
Karsten Hopp c3bdb2
Files:	    src/charset.c
Karsten Hopp c3bdb2
Karsten Hopp c3bdb2
Karsten Hopp c3bdb2
*** ../vim-7.3.801/src/charset.c	2013-01-30 17:30:14.000000000 +0100
Karsten Hopp c3bdb2
--- src/charset.c	2013-02-06 16:20:01.000000000 +0100
Karsten Hopp c3bdb2
***************
Karsten Hopp c3bdb2
*** 284,290 ****
Karsten Hopp c3bdb2
--- 284,295 ----
Karsten Hopp c3bdb2
  		}
Karsten Hopp c3bdb2
  		++c;
Karsten Hopp c3bdb2
  	    }
Karsten Hopp c3bdb2
+ 
Karsten Hopp c3bdb2
+ 	    c = *p;
Karsten Hopp c3bdb2
  	    p = skip_to_option_part(p);
Karsten Hopp c3bdb2
+ 	    if (c == ',' && *p == NUL)
Karsten Hopp c3bdb2
+ 		/* Trailing comma is not allowed. */
Karsten Hopp c3bdb2
+ 		return FAIL;
Karsten Hopp c3bdb2
  	}
Karsten Hopp c3bdb2
      }
Karsten Hopp c3bdb2
      chartab_initialized = TRUE;
Karsten Hopp c3bdb2
*** ../vim-7.3.801/src/version.c	2013-02-06 13:37:58.000000000 +0100
Karsten Hopp c3bdb2
--- src/version.c	2013-02-06 16:21:18.000000000 +0100
Karsten Hopp c3bdb2
***************
Karsten Hopp c3bdb2
*** 727,728 ****
Karsten Hopp c3bdb2
--- 727,730 ----
Karsten Hopp c3bdb2
  {   /* Add new patch number below this line */
Karsten Hopp c3bdb2
+ /**/
Karsten Hopp c3bdb2
+     802,
Karsten Hopp c3bdb2
  /**/
Karsten Hopp c3bdb2
Karsten Hopp c3bdb2
-- 
Karsten Hopp c3bdb2
Dreams are free, but there's a small charge for alterations.
Karsten Hopp c3bdb2
Karsten Hopp c3bdb2
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp c3bdb2
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp c3bdb2
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp c3bdb2
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///