|
Karsten Hopp |
4dc60a |
To: vim-dev@vim.org
|
|
Karsten Hopp |
4dc60a |
Subject: Patch 7.2.380
|
|
Karsten Hopp |
4dc60a |
Fcc: outbox
|
|
Karsten Hopp |
4dc60a |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
4dc60a |
Mime-Version: 1.0
|
|
Karsten Hopp |
4dc60a |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
4dc60a |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
4dc60a |
------------
|
|
Karsten Hopp |
4dc60a |
|
|
Karsten Hopp |
4dc60a |
Patch 7.2.380 (after 7.2.363)
|
|
Karsten Hopp |
4dc60a |
Problem: Perl interface builds with 5.10.1 but not with 5.10.0.
|
|
Karsten Hopp |
4dc60a |
Solution: Change the #ifdefs. (Sergey Khorev)
|
|
Karsten Hopp |
4dc60a |
Files: src/if_perl.xs
|
|
Karsten Hopp |
4dc60a |
|
|
Karsten Hopp |
4dc60a |
|
|
Karsten Hopp |
4dc60a |
*** ../vim-7.2.379/src/if_perl.xs 2010-02-17 16:40:47.000000000 +0100
|
|
Karsten Hopp |
4dc60a |
--- src/if_perl.xs 2010-03-02 15:07:01.000000000 +0100
|
|
Karsten Hopp |
4dc60a |
***************
|
|
Karsten Hopp |
4dc60a |
*** 62,67 ****
|
|
Karsten Hopp |
4dc60a |
--- 62,72 ----
|
|
Karsten Hopp |
4dc60a |
# define PERL589_OR_LATER
|
|
Karsten Hopp |
4dc60a |
#endif
|
|
Karsten Hopp |
4dc60a |
|
|
Karsten Hopp |
4dc60a |
+ #if (PERL_REVISION == 5) && ((PERL_VERSION > 10) || \
|
|
Karsten Hopp |
4dc60a |
+ (PERL_VERSION == 10) && (PERL_SUBVERSION >= 1))
|
|
Karsten Hopp |
4dc60a |
+ # define PERL5101_OR_LATER
|
|
Karsten Hopp |
4dc60a |
+ #endif
|
|
Karsten Hopp |
4dc60a |
+
|
|
Karsten Hopp |
4dc60a |
#ifndef pTHX
|
|
Karsten Hopp |
4dc60a |
# define pTHX void
|
|
Karsten Hopp |
4dc60a |
# define pTHX_
|
|
Karsten Hopp |
4dc60a |
***************
|
|
Karsten Hopp |
4dc60a |
*** 93,99 ****
|
|
Karsten Hopp |
4dc60a |
# define perl_free dll_perl_free
|
|
Karsten Hopp |
4dc60a |
# define Perl_get_context dll_Perl_get_context
|
|
Karsten Hopp |
4dc60a |
# define Perl_croak dll_Perl_croak
|
|
Karsten Hopp |
4dc60a |
! # if (PERL_REVISION == 5) && (PERL_VERSION >= 10)
|
|
Karsten Hopp |
4dc60a |
# define Perl_croak_xs_usage dll_Perl_croak_xs_usage
|
|
Karsten Hopp |
4dc60a |
# endif
|
|
Karsten Hopp |
4dc60a |
# ifndef PROTO
|
|
Karsten Hopp |
4dc60a |
--- 98,104 ----
|
|
Karsten Hopp |
4dc60a |
# define perl_free dll_perl_free
|
|
Karsten Hopp |
4dc60a |
# define Perl_get_context dll_Perl_get_context
|
|
Karsten Hopp |
4dc60a |
# define Perl_croak dll_Perl_croak
|
|
Karsten Hopp |
4dc60a |
! # ifdef PERL5101_OR_LATER
|
|
Karsten Hopp |
4dc60a |
# define Perl_croak_xs_usage dll_Perl_croak_xs_usage
|
|
Karsten Hopp |
4dc60a |
# endif
|
|
Karsten Hopp |
4dc60a |
# ifndef PROTO
|
|
Karsten Hopp |
4dc60a |
***************
|
|
Karsten Hopp |
4dc60a |
*** 205,211 ****
|
|
Karsten Hopp |
4dc60a |
static int (*perl_parse)(PerlInterpreter*, XSINIT_t, int, char**, char**);
|
|
Karsten Hopp |
4dc60a |
static void* (*Perl_get_context)(void);
|
|
Karsten Hopp |
4dc60a |
static void (*Perl_croak)(pTHX_ const char*, ...);
|
|
Karsten Hopp |
4dc60a |
! #if (PERL_REVISION == 5) && (PERL_VERSION >= 10)
|
|
Karsten Hopp |
4dc60a |
static void (*Perl_croak_xs_usage)(pTHX_ const CV *const, const char *const params);
|
|
Karsten Hopp |
4dc60a |
#endif
|
|
Karsten Hopp |
4dc60a |
static void (*Perl_croak_nocontext)(const char*, ...);
|
|
Karsten Hopp |
4dc60a |
--- 210,216 ----
|
|
Karsten Hopp |
4dc60a |
static int (*perl_parse)(PerlInterpreter*, XSINIT_t, int, char**, char**);
|
|
Karsten Hopp |
4dc60a |
static void* (*Perl_get_context)(void);
|
|
Karsten Hopp |
4dc60a |
static void (*Perl_croak)(pTHX_ const char*, ...);
|
|
Karsten Hopp |
4dc60a |
! #ifdef PERL5101_OR_LATER
|
|
Karsten Hopp |
4dc60a |
static void (*Perl_croak_xs_usage)(pTHX_ const CV *const, const char *const params);
|
|
Karsten Hopp |
4dc60a |
#endif
|
|
Karsten Hopp |
4dc60a |
static void (*Perl_croak_nocontext)(const char*, ...);
|
|
Karsten Hopp |
4dc60a |
***************
|
|
Karsten Hopp |
4dc60a |
*** 312,318 ****
|
|
Karsten Hopp |
4dc60a |
{"perl_parse", (PERL_PROC*)&perl_parse},
|
|
Karsten Hopp |
4dc60a |
{"Perl_get_context", (PERL_PROC*)&Perl_get_context},
|
|
Karsten Hopp |
4dc60a |
{"Perl_croak", (PERL_PROC*)&Perl_croak},
|
|
Karsten Hopp |
4dc60a |
! #if (PERL_REVISION == 5) && (PERL_VERSION >= 10)
|
|
Karsten Hopp |
4dc60a |
{"Perl_croak_xs_usage", (PERL_PROC*)&Perl_croak_xs_usage},
|
|
Karsten Hopp |
4dc60a |
#endif
|
|
Karsten Hopp |
4dc60a |
{"Perl_croak_nocontext", (PERL_PROC*)&Perl_croak_nocontext},
|
|
Karsten Hopp |
4dc60a |
--- 317,323 ----
|
|
Karsten Hopp |
4dc60a |
{"perl_parse", (PERL_PROC*)&perl_parse},
|
|
Karsten Hopp |
4dc60a |
{"Perl_get_context", (PERL_PROC*)&Perl_get_context},
|
|
Karsten Hopp |
4dc60a |
{"Perl_croak", (PERL_PROC*)&Perl_croak},
|
|
Karsten Hopp |
4dc60a |
! #ifdef PERL5101_OR_LATER
|
|
Karsten Hopp |
4dc60a |
{"Perl_croak_xs_usage", (PERL_PROC*)&Perl_croak_xs_usage},
|
|
Karsten Hopp |
4dc60a |
#endif
|
|
Karsten Hopp |
4dc60a |
{"Perl_croak_nocontext", (PERL_PROC*)&Perl_croak_nocontext},
|
|
Karsten Hopp |
4dc60a |
*** ../vim-7.2.379/src/version.c 2010-03-02 12:47:58.000000000 +0100
|
|
Karsten Hopp |
4dc60a |
--- src/version.c 2010-03-02 15:13:21.000000000 +0100
|
|
Karsten Hopp |
4dc60a |
***************
|
|
Karsten Hopp |
4dc60a |
*** 683,684 ****
|
|
Karsten Hopp |
4dc60a |
--- 683,686 ----
|
|
Karsten Hopp |
4dc60a |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
4dc60a |
+ /**/
|
|
Karsten Hopp |
4dc60a |
+ 380,
|
|
Karsten Hopp |
4dc60a |
/**/
|
|
Karsten Hopp |
4dc60a |
|
|
Karsten Hopp |
4dc60a |
--
|
|
Karsten Hopp |
4dc60a |
FATHER: Make sure the Prince doesn't leave this room until I come and
|
|
Karsten Hopp |
4dc60a |
get him.
|
|
Karsten Hopp |
4dc60a |
FIRST GUARD: Not ... to leave the room ... even if you come and get him.
|
|
Karsten Hopp |
4dc60a |
FATHER: No. Until I come and get him.
|
|
Karsten Hopp |
4dc60a |
SECOND GUARD: Hic.
|
|
Karsten Hopp |
4dc60a |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
4dc60a |
|
|
Karsten Hopp |
4dc60a |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
4dc60a |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
4dc60a |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
4dc60a |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|