summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-04-29 11:53:56 +0000
committerBram Moolenaar <Bram@vim.org>2007-04-29 11:53:56 +0000
commitd9fe7c4bb8b07330ca67018d46a334a615a421d5 (patch)
treeac14639a59dce7c2652ad42909d66957ca268872
parent3d43a6658c6b2d44aebde338c09e2c153bad5843 (diff)
downloadvim-d9fe7c4bb8b07330ca67018d46a334a615a421d5.zip
updated for version 7.0-235
-rw-r--r--src/eval.c6
-rw-r--r--src/version.c2
2 files changed, 8 insertions, 0 deletions
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
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 235,
+/**/
234,
/**/
233,