4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
10 Patch 7.2.380 (after 7.2.363)
11 Problem: Perl interface builds with 5.10.1 but not with 5.10.0.
12 Solution: Change the #ifdefs. (Sergey Khorev)
16 *** ../vim-7.2.379/src/if_perl.xs 2010-02-17 16:40:47.000000000 +0100
17 --- src/if_perl.xs 2010-03-02 15:07:01.000000000 +0100
21 # define PERL589_OR_LATER
24 + #if (PERL_REVISION == 5) && ((PERL_VERSION > 10) || \
25 + (PERL_VERSION == 10) && (PERL_SUBVERSION >= 1))
26 + # define PERL5101_OR_LATER
34 # define perl_free dll_perl_free
35 # define Perl_get_context dll_Perl_get_context
36 # define Perl_croak dll_Perl_croak
37 ! # if (PERL_REVISION == 5) && (PERL_VERSION >= 10)
38 # define Perl_croak_xs_usage dll_Perl_croak_xs_usage
42 # define perl_free dll_perl_free
43 # define Perl_get_context dll_Perl_get_context
44 # define Perl_croak dll_Perl_croak
45 ! # ifdef PERL5101_OR_LATER
46 # define Perl_croak_xs_usage dll_Perl_croak_xs_usage
51 static int (*perl_parse)(PerlInterpreter*, XSINIT_t, int, char**, char**);
52 static void* (*Perl_get_context)(void);
53 static void (*Perl_croak)(pTHX_ const char*, ...);
54 ! #if (PERL_REVISION == 5) && (PERL_VERSION >= 10)
55 static void (*Perl_croak_xs_usage)(pTHX_ const CV *const, const char *const params);
57 static void (*Perl_croak_nocontext)(const char*, ...);
59 static int (*perl_parse)(PerlInterpreter*, XSINIT_t, int, char**, char**);
60 static void* (*Perl_get_context)(void);
61 static void (*Perl_croak)(pTHX_ const char*, ...);
62 ! #ifdef PERL5101_OR_LATER
63 static void (*Perl_croak_xs_usage)(pTHX_ const CV *const, const char *const params);
65 static void (*Perl_croak_nocontext)(const char*, ...);
68 {"perl_parse", (PERL_PROC*)&perl_parse},
69 {"Perl_get_context", (PERL_PROC*)&Perl_get_context},
70 {"Perl_croak", (PERL_PROC*)&Perl_croak},
71 ! #if (PERL_REVISION == 5) && (PERL_VERSION >= 10)
72 {"Perl_croak_xs_usage", (PERL_PROC*)&Perl_croak_xs_usage},
74 {"Perl_croak_nocontext", (PERL_PROC*)&Perl_croak_nocontext},
76 {"perl_parse", (PERL_PROC*)&perl_parse},
77 {"Perl_get_context", (PERL_PROC*)&Perl_get_context},
78 {"Perl_croak", (PERL_PROC*)&Perl_croak},
79 ! #ifdef PERL5101_OR_LATER
80 {"Perl_croak_xs_usage", (PERL_PROC*)&Perl_croak_xs_usage},
82 {"Perl_croak_nocontext", (PERL_PROC*)&Perl_croak_nocontext},
83 *** ../vim-7.2.379/src/version.c 2010-03-02 12:47:58.000000000 +0100
84 --- src/version.c 2010-03-02 15:13:21.000000000 +0100
88 { /* Add new patch number below this line */
94 FATHER: Make sure the Prince doesn't leave this room until I come and
96 FIRST GUARD: Not ... to leave the room ... even if you come and get him.
97 FATHER: No. Until I come and get him.
99 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
101 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
102 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
103 \\\ download, build and distribute -- http://www.A-A-P.org ///
104 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///