# HG changeset patch # User Bram Moolenaar # Date 1360164386 -3600 # Node ID cd5145d2408bb52217417af654f5664af269e19e # Parent 5fc66eef634afb46c59876549cc08fd59bda74d8 updated for version 7.3.802 Problem: After setting 'isk' to a value ending in a comma appending to the option fails. Solution: Disallow a trailing comma for 'isk' and similar options. diff --git a/src/charset.c b/src/charset.c --- a/src/charset.c +++ b/src/charset.c @@ -284,7 +284,12 @@ buf_init_chartab(buf, global) } ++c; } + + c = *p; p = skip_to_option_part(p); + if (c == ',' && *p == NUL) + /* Trailing comma is not allowed. */ + return FAIL; } } chartab_initialized = TRUE; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -726,6 +726,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 802, +/**/ 801, /**/ 800,