|
Karsten Hopp |
1db855 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
1db855 |
Subject: Patch 7.3.1198
|
|
Karsten Hopp |
1db855 |
Fcc: outbox
|
|
Karsten Hopp |
1db855 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
1db855 |
Mime-Version: 1.0
|
|
Karsten Hopp |
1db855 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
1db855 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
1db855 |
------------
|
|
Karsten Hopp |
1db855 |
|
|
Karsten Hopp |
1db855 |
Patch 7.3.1198
|
|
Karsten Hopp |
1db855 |
Problem: Build error when using Perl 5.18.0 and dynamic loading.
|
|
Karsten Hopp |
1db855 |
Solution: Change #ifdefs for Perl_croak_xs_usage. (Ike Devolder)
|
|
Karsten Hopp |
1db855 |
Files: src/if_perl.xs
|
|
Karsten Hopp |
1db855 |
|
|
Karsten Hopp |
1db855 |
|
|
Karsten Hopp |
1db855 |
*** ../vim-7.3.1197/src/if_perl.xs 2013-05-06 04:21:35.000000000 +0200
|
|
Karsten Hopp |
1db855 |
--- src/if_perl.xs 2013-06-15 16:42:45.000000000 +0200
|
|
Karsten Hopp |
1db855 |
***************
|
|
Karsten Hopp |
1db855 |
*** 67,72 ****
|
|
Karsten Hopp |
1db855 |
--- 67,76 ----
|
|
Karsten Hopp |
1db855 |
# define PERL5101_OR_LATER
|
|
Karsten Hopp |
1db855 |
#endif
|
|
Karsten Hopp |
1db855 |
|
|
Karsten Hopp |
1db855 |
+ #if (PERL_REVISION == 5) && (PERL_VERSION >= 18)
|
|
Karsten Hopp |
1db855 |
+ # define PERL5180_OR_LATER
|
|
Karsten Hopp |
1db855 |
+ #endif
|
|
Karsten Hopp |
1db855 |
+
|
|
Karsten Hopp |
1db855 |
#ifndef pTHX
|
|
Karsten Hopp |
1db855 |
# define pTHX void
|
|
Karsten Hopp |
1db855 |
# define pTHX_
|
|
Karsten Hopp |
1db855 |
***************
|
|
Karsten Hopp |
1db855 |
*** 127,135 ****
|
|
Karsten Hopp |
1db855 |
--- 131,141 ----
|
|
Karsten Hopp |
1db855 |
# define perl_free dll_perl_free
|
|
Karsten Hopp |
1db855 |
# define Perl_get_context dll_Perl_get_context
|
|
Karsten Hopp |
1db855 |
# define Perl_croak dll_Perl_croak
|
|
Karsten Hopp |
1db855 |
+ # ifndef PERL5180_OR_LATER
|
|
Karsten Hopp |
1db855 |
# ifdef PERL5101_OR_LATER
|
|
Karsten Hopp |
1db855 |
# define Perl_croak_xs_usage dll_Perl_croak_xs_usage
|
|
Karsten Hopp |
1db855 |
# endif
|
|
Karsten Hopp |
1db855 |
+ # endif
|
|
Karsten Hopp |
1db855 |
# ifndef PROTO
|
|
Karsten Hopp |
1db855 |
# define Perl_croak_nocontext dll_Perl_croak_nocontext
|
|
Karsten Hopp |
1db855 |
# define Perl_call_argv dll_Perl_call_argv
|
|
Karsten Hopp |
1db855 |
***************
|
|
Karsten Hopp |
1db855 |
*** 242,250 ****
|
|
Karsten Hopp |
1db855 |
--- 248,258 ----
|
|
Karsten Hopp |
1db855 |
static int (*perl_parse)(PerlInterpreter*, XSINIT_t, int, char**, char**);
|
|
Karsten Hopp |
1db855 |
static void* (*Perl_get_context)(void);
|
|
Karsten Hopp |
1db855 |
static void (*Perl_croak)(pTHX_ const char*, ...);
|
|
Karsten Hopp |
1db855 |
+ #ifndef PERL5180_OR_LATER
|
|
Karsten Hopp |
1db855 |
#ifdef PERL5101_OR_LATER
|
|
Karsten Hopp |
1db855 |
static void (*Perl_croak_xs_usage)(pTHX_ const CV *const, const char *const params);
|
|
Karsten Hopp |
1db855 |
#endif
|
|
Karsten Hopp |
1db855 |
+ #endif
|
|
Karsten Hopp |
1db855 |
static void (*Perl_croak_nocontext)(const char*, ...);
|
|
Karsten Hopp |
1db855 |
static I32 (*Perl_dowantarray)(pTHX);
|
|
Karsten Hopp |
1db855 |
static void (*Perl_free_tmps)(pTHX);
|
|
Karsten Hopp |
1db855 |
***************
|
|
Karsten Hopp |
1db855 |
*** 362,370 ****
|
|
Karsten Hopp |
1db855 |
--- 370,380 ----
|
|
Karsten Hopp |
1db855 |
{"perl_parse", (PERL_PROC*)&perl_parse},
|
|
Karsten Hopp |
1db855 |
{"Perl_get_context", (PERL_PROC*)&Perl_get_context},
|
|
Karsten Hopp |
1db855 |
{"Perl_croak", (PERL_PROC*)&Perl_croak},
|
|
Karsten Hopp |
1db855 |
+ #ifndef PERL5180_OR_LATER
|
|
Karsten Hopp |
1db855 |
#ifdef PERL5101_OR_LATER
|
|
Karsten Hopp |
1db855 |
{"Perl_croak_xs_usage", (PERL_PROC*)&Perl_croak_xs_usage},
|
|
Karsten Hopp |
1db855 |
#endif
|
|
Karsten Hopp |
1db855 |
+ #endif
|
|
Karsten Hopp |
1db855 |
{"Perl_croak_nocontext", (PERL_PROC*)&Perl_croak_nocontext},
|
|
Karsten Hopp |
1db855 |
{"Perl_dowantarray", (PERL_PROC*)&Perl_dowantarray},
|
|
Karsten Hopp |
1db855 |
{"Perl_free_tmps", (PERL_PROC*)&Perl_free_tmps},
|
|
Karsten Hopp |
1db855 |
*** ../vim-7.3.1197/src/version.c 2013-06-15 16:31:41.000000000 +0200
|
|
Karsten Hopp |
1db855 |
--- src/version.c 2013-06-15 16:42:08.000000000 +0200
|
|
Karsten Hopp |
1db855 |
***************
|
|
Karsten Hopp |
1db855 |
*** 730,731 ****
|
|
Karsten Hopp |
1db855 |
--- 730,733 ----
|
|
Karsten Hopp |
1db855 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
1db855 |
+ /**/
|
|
Karsten Hopp |
1db855 |
+ 1198,
|
|
Karsten Hopp |
1db855 |
/**/
|
|
Karsten Hopp |
1db855 |
|
|
Karsten Hopp |
1db855 |
--
|
|
Karsten Hopp |
1db855 |
I noticed my daughter's Disney-net password on a sticky note:
|
|
Karsten Hopp |
1db855 |
"MickeyMinnieGoofyPluto". I asked her why it was so long.
|
|
Karsten Hopp |
1db855 |
"Because they say it has to have at least four characters."
|
|
Karsten Hopp |
1db855 |
|
|
Karsten Hopp |
1db855 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
1db855 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
1db855 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
1db855 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|