- patchlevel 287
This commit is contained in:
parent
137c8faf6c
commit
ffd3244141
54
7.2.287
Normal file
54
7.2.287
Normal file
@ -0,0 +1,54 @@
|
||||
To: vim-dev@vim.org
|
||||
Subject: Patch 7.2.287
|
||||
Fcc: outbox
|
||||
From: Bram Moolenaar <Bram@moolenaar.net>
|
||||
Mime-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
------------
|
||||
|
||||
Patch 7.2.287
|
||||
Problem: Warning from gcc 3.4 about uninitialized variable.
|
||||
Solution: Move assignment outside of #ifdef.
|
||||
Files: src/if_perl.xs
|
||||
|
||||
|
||||
*** ../vim-7.2.286/src/if_perl.xs 2009-07-14 16:05:14.000000000 +0200
|
||||
--- src/if_perl.xs 2009-11-11 12:29:32.000000000 +0100
|
||||
***************
|
||||
*** 720,727 ****
|
||||
#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
|
||||
--- 720,728 ----
|
||||
#ifdef HAVE_SANDBOX
|
||||
if (sandbox)
|
||||
{
|
||||
+ safe = perl_get_sv( "VIM::safe", FALSE );
|
||||
# ifndef MAKE_TEST /* avoid a warning for unreachable code */
|
||||
! if (safe == NULL || !SvTRUE(safe))
|
||||
EMSG(_("E299: Perl evaluation forbidden in sandbox without the Safe module"));
|
||||
else
|
||||
# endif
|
||||
*** ../vim-7.2.286/src/version.c 2009-11-11 14:21:48.000000000 +0100
|
||||
--- src/version.c 2009-11-11 14:44:49.000000000 +0100
|
||||
***************
|
||||
*** 683,684 ****
|
||||
--- 683,686 ----
|
||||
{ /* Add new patch number below this line */
|
||||
+ /**/
|
||||
+ 287,
|
||||
/**/
|
||||
|
||||
--
|
||||
The most powerful force in the universe is gossip.
|
||||
|
||||
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
||||
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
||||
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
||||
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|
Loading…
Reference in New Issue
Block a user