]> granicus.if.org Git - vim/commitdiff
updated for version 7.0110
authorBram Moolenaar <Bram@vim.org>
Tue, 19 Jul 2005 22:14:07 +0000 (22:14 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 19 Jul 2005 22:14:07 +0000 (22:14 +0000)
src/os_unix.c

index 9952266b3605c1808a43d21ffbbd28503de9aea8..01b6fad0a3d4029aa46ec7f55270d423f6758fd1 100644 (file)
@@ -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()))