diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-07-19 22:14:07 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-07-19 22:14:07 +0000 |
commit | e7c5a156319e0bfc64d90367ca61ef5893a21c9d (patch) | |
tree | f2e6dca4160622df71b9872810155fa14ed21a34 /src | |
parent | f8c07b27126790dd9100229ac35e818d601b3dae (diff) | |
download | vim-e7c5a156319e0bfc64d90367ca61ef5893a21c9d.zip |
updated for version 7.0110
Diffstat (limited to 'src')
-rw-r--r-- | src/os_unix.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 9952266b3..01b6fad0a 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -5086,7 +5086,11 @@ mch_expand_wildcards(num_pat, pat, num_file, file, flags) /* * Don't allow the use of backticks in secure and restricted mode. */ - if (secure || restricted) + if (secure || restricted +# ifdef HAVE_SANDBOX + || sandbox != 0 +# endif + ) for (i = 0; i < num_pat; ++i) if (vim_strchr(pat[i], '`') != NULL && (check_restricted() || check_secure())) |