]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-287 v7.2.287
authorBram Moolenaar <Bram@vim.org>
Wed, 11 Nov 2009 13:45:33 +0000 (13:45 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 11 Nov 2009 13:45:33 +0000 (13:45 +0000)
src/if_perl.xs
src/version.c

index 926adcef5b15bf8b1be7d4ff0163dc0e77d36f36..1ef0eb4aa65d68e9398d05ed16d3c06b394f90a1 100644 (file)
@@ -720,8 +720,9 @@ ex_perl(eap)
 #ifdef HAVE_SANDBOX
     if (sandbox)
     {
+       safe = perl_get_sv( "VIM::safe", FALSE );
 # ifndef MAKE_TEST  /* avoid a warning for unreachable code */
-       if ((safe = perl_get_sv( "VIM::safe", FALSE )) == NULL || !SvTRUE(safe))
+       if (safe == NULL || !SvTRUE(safe))
            EMSG(_("E299: Perl evaluation forbidden in sandbox without the Safe module"));
        else
 # endif
index 15ffd8e4ddacf7ae5493ce9186fab61b5f70f78d..61609c8c55b0b69cbc96da93b5bffed278e1e324 100644 (file)
@@ -681,6 +681,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    287,
 /**/
     286,
 /**/