From: Bram Moolenaar Date: Sun, 29 Apr 2007 11:53:56 +0000 (+0000) Subject: updated for version 7.0-235 X-Git-Tag: v7.0.235 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9fe7c4bb8b07330ca67018d46a334a615a421d5;p=vim updated for version 7.0-235 --- diff --git a/src/eval.c b/src/eval.c index cfb347616..0fd774496 100644 --- a/src/eval.c +++ b/src/eval.c @@ -15598,6 +15598,9 @@ f_system(argvars, rettv) int err = FALSE; FILE *fd; + if (check_restricted() || check_secure()) + return; + if (argvars[1].v_type != VAR_UNKNOWN) { /* @@ -16431,6 +16434,9 @@ f_writefile(argvars, rettv) int ret = 0; int c; + if (check_restricted() || check_secure()) + return; + if (argvars[0].v_type != VAR_LIST) { EMSG2(_(e_listarg), "writefile()"); diff --git a/src/version.c b/src/version.c index 7fe531d9b..8e6c5504e 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 235, /**/ 234, /**/