updated for version 7.0-235
diff --git a/src/eval.c b/src/eval.c
index cfb3476..0fd7744 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -15598,6 +15598,9 @@
     int		err = FALSE;
     FILE	*fd;
 
+    if (check_restricted() || check_secure())
+	return;
+
     if (argvars[1].v_type != VAR_UNKNOWN)
     {
 	/*
@@ -16431,6 +16434,9 @@
     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 7fe531d..8e6c550 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    235,
+/**/
     234,
 /**/
     233,