# HG changeset patch # User vimboss # Date 1247580294 0 # Node ID 80e5b1da667656a146cad7a749ac9fd2afb659bb # Parent dfdaac31aa5df021b444bc2ba64307709d863c63 updated for version 7.2-231 diff --git a/src/if_perl.xs b/src/if_perl.xs --- a/src/if_perl.xs +++ b/src/if_perl.xs @@ -720,9 +720,11 @@ ex_perl(eap) #ifdef HAVE_SANDBOX if (sandbox) { +# ifndef MAKE_TEST /* avoid a warning for unreachable code */ if ((safe = perl_get_sv( "VIM::safe", FALSE )) == NULL || !SvTRUE(safe)) EMSG(_("E299: Perl evaluation forbidden in sandbox without the Safe module")); else +# endif { PUSHMARK(SP); XPUSHs(safe); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -677,6 +677,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 231, +/**/ 230, /**/ 229,