From 309379fc989a4f3337c9cf3361ab6eb9a456c626 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar <Bram@vim.org> Date: Wed, 6 Feb 2013 16:26:26 +0100 Subject: [PATCH] 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. --- src/charset.c | 5 +++++ src/version.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/charset.c b/src/charset.c index b5dcfac1ba..fd4b500be5 100644 --- 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 index 69184b05ad..90ac7247e9 100644 --- a/src/version.c +++ b/src/version.c @@ -725,6 +725,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 802, /**/ 801, /**/ -- GitLab