|
Karsten Hopp |
81c285 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
81c285 |
Subject: Patch 7.2.231
|
|
Karsten Hopp |
81c285 |
Fcc: outbox
|
|
Karsten Hopp |
81c285 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
81c285 |
Mime-Version: 1.0
|
|
Karsten Hopp |
81c285 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
81c285 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
81c285 |
------------
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
Patch 7.2.231
|
|
Karsten Hopp |
81c285 |
Problem: Warning for unreacheable code.
|
|
Karsten Hopp |
81c285 |
Solution: Add #ifdef.
|
|
Karsten Hopp |
81c285 |
Files: src/if_perl.xs
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
*** ../vim-7.2.230/src/if_perl.xs 2009-07-09 20:06:30.000000000 +0200
|
|
Karsten Hopp |
81c285 |
--- src/if_perl.xs 2009-07-09 13:02:16.000000000 +0200
|
|
Karsten Hopp |
81c285 |
***************
|
|
Karsten Hopp |
81c285 |
*** 720,728 ****
|
|
Karsten Hopp |
81c285 |
--- 720,730 ----
|
|
Karsten Hopp |
81c285 |
#ifdef HAVE_SANDBOX
|
|
Karsten Hopp |
81c285 |
if (sandbox)
|
|
Karsten Hopp |
81c285 |
{
|
|
Karsten Hopp |
81c285 |
+ # ifndef MAKE_TEST /* avoid a warning for unreachable code */
|
|
Karsten Hopp |
81c285 |
if ((safe = perl_get_sv( "VIM::safe", FALSE )) == NULL || !SvTRUE(safe))
|
|
Karsten Hopp |
81c285 |
EMSG(_("E299: Perl evaluation forbidden in sandbox without the Safe module"));
|
|
Karsten Hopp |
81c285 |
else
|
|
Karsten Hopp |
81c285 |
+ # endif
|
|
Karsten Hopp |
81c285 |
{
|
|
Karsten Hopp |
81c285 |
PUSHMARK(SP);
|
|
Karsten Hopp |
81c285 |
XPUSHs(safe);
|
|
Karsten Hopp |
81c285 |
*** ../vim-7.2.230/src/version.c 2009-07-14 13:44:43.000000000 +0200
|
|
Karsten Hopp |
81c285 |
--- src/version.c 2009-07-14 16:04:07.000000000 +0200
|
|
Karsten Hopp |
81c285 |
***************
|
|
Karsten Hopp |
81c285 |
*** 678,679 ****
|
|
Karsten Hopp |
81c285 |
--- 678,681 ----
|
|
Karsten Hopp |
81c285 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
81c285 |
+ /**/
|
|
Karsten Hopp |
81c285 |
+ 231,
|
|
Karsten Hopp |
81c285 |
/**/
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
--
|
|
Karsten Hopp |
81c285 |
From "know your smileys":
|
|
Karsten Hopp |
81c285 |
~#:-( I just washed my hair, and I can't do nuthin' with it.
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
81c285 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
81c285 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
81c285 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|