Mercurial > vim
changeset 1454:0713c530729b v7.1.169
updated for version 7.1-169
author | vimboss |
---|---|
date | Fri, 07 Dec 2007 16:09:32 +0000 |
parents | 159d87361e4b |
children | ca501ab2fdb3 |
files | src/eval.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/eval.c +++ b/src/eval.c @@ -15826,7 +15826,7 @@ f_system(argvars, rettv) FILE *fd; if (check_restricted() || check_secure()) - return; + goto done; if (argvars[1].v_type != VAR_UNKNOWN) { @@ -15837,7 +15837,7 @@ f_system(argvars, rettv) if ((infile = vim_tempname('i')) == NULL) { EMSG(_(e_notmp)); - return; + goto done; } fd = mch_fopen((char *)infile, WRITEBIN);