|
Karsten Hopp |
7e8408 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
7e8408 |
Subject: Patch 7.2.063
|
|
Karsten Hopp |
7e8408 |
Fcc: outbox
|
|
Karsten Hopp |
7e8408 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
7e8408 |
Mime-Version: 1.0
|
|
Karsten Hopp |
7e8408 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
7e8408 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
7e8408 |
------------
|
|
Karsten Hopp |
7e8408 |
|
|
Karsten Hopp |
7e8408 |
Patch 7.2.063
|
|
Karsten Hopp |
7e8408 |
Problem: Warning for NULL argument of Perl_sys_init3().
|
|
Karsten Hopp |
7e8408 |
Solution: Use Perl_sys_init() instead. (partly by Dominique Pelle)
|
|
Karsten Hopp |
7e8408 |
Files: src/if_perl.xs
|
|
Karsten Hopp |
7e8408 |
|
|
Karsten Hopp |
7e8408 |
|
|
Karsten Hopp |
7e8408 |
*** ../vim-7.2.062/src/if_perl.xs Mon Sep 1 17:56:05 2008
|
|
Karsten Hopp |
7e8408 |
--- src/if_perl.xs Wed Dec 3 12:44:38 2008
|
|
Karsten Hopp |
7e8408 |
***************
|
|
Karsten Hopp |
7e8408 |
*** 166,172 ****
|
|
Karsten Hopp |
7e8408 |
# define Perl_Isv_yes_ptr dll_Perl_Isv_yes_ptr
|
|
Karsten Hopp |
7e8408 |
# define boot_DynaLoader dll_boot_DynaLoader
|
|
Karsten Hopp |
7e8408 |
|
|
Karsten Hopp |
7e8408 |
! # define Perl_sys_init3 dll_Perl_sys_init3
|
|
Karsten Hopp |
7e8408 |
# define Perl_sys_term dll_Perl_sys_term
|
|
Karsten Hopp |
7e8408 |
# define Perl_ISv_ptr dll_Perl_ISv_ptr
|
|
Karsten Hopp |
7e8408 |
# define Perl_Istack_max_ptr dll_Perl_Istack_max_ptr
|
|
Karsten Hopp |
7e8408 |
--- 166,172 ----
|
|
Karsten Hopp |
7e8408 |
# define Perl_Isv_yes_ptr dll_Perl_Isv_yes_ptr
|
|
Karsten Hopp |
7e8408 |
# define boot_DynaLoader dll_boot_DynaLoader
|
|
Karsten Hopp |
7e8408 |
|
|
Karsten Hopp |
7e8408 |
! # define Perl_sys_init dll_Perl_sys_init
|
|
Karsten Hopp |
7e8408 |
# define Perl_sys_term dll_Perl_sys_term
|
|
Karsten Hopp |
7e8408 |
# define Perl_ISv_ptr dll_Perl_ISv_ptr
|
|
Karsten Hopp |
7e8408 |
# define Perl_Istack_max_ptr dll_Perl_Istack_max_ptr
|
|
Karsten Hopp |
7e8408 |
***************
|
|
Karsten Hopp |
7e8408 |
*** 272,278 ****
|
|
Karsten Hopp |
7e8408 |
|
|
Karsten Hopp |
7e8408 |
#if (PERL_REVISION == 5) && (PERL_VERSION >= 10)
|
|
Karsten Hopp |
7e8408 |
static void (*Perl_sv_free2)(pTHX_ SV*);
|
|
Karsten Hopp |
7e8408 |
! static void (*Perl_sys_init3)(int* argc, char*** argv, char*** env);
|
|
Karsten Hopp |
7e8408 |
static void (*Perl_sys_term)(void);
|
|
Karsten Hopp |
7e8408 |
static SV** (*Perl_ISv_ptr)(register PerlInterpreter*);
|
|
Karsten Hopp |
7e8408 |
static SV*** (*Perl_Istack_max_ptr)(register PerlInterpreter*);
|
|
Karsten Hopp |
7e8408 |
--- 272,278 ----
|
|
Karsten Hopp |
7e8408 |
|
|
Karsten Hopp |
7e8408 |
#if (PERL_REVISION == 5) && (PERL_VERSION >= 10)
|
|
Karsten Hopp |
7e8408 |
static void (*Perl_sv_free2)(pTHX_ SV*);
|
|
Karsten Hopp |
7e8408 |
! static void (*Perl_sys_init)(int* argc, char*** argv);
|
|
Karsten Hopp |
7e8408 |
static void (*Perl_sys_term)(void);
|
|
Karsten Hopp |
7e8408 |
static SV** (*Perl_ISv_ptr)(register PerlInterpreter*);
|
|
Karsten Hopp |
7e8408 |
static SV*** (*Perl_Istack_max_ptr)(register PerlInterpreter*);
|
|
Karsten Hopp |
7e8408 |
***************
|
|
Karsten Hopp |
7e8408 |
*** 372,378 ****
|
|
Karsten Hopp |
7e8408 |
{"Perl_Tna_ptr", (PERL_PROC*)&Perl_Tna_ptr},
|
|
Karsten Hopp |
7e8408 |
#else
|
|
Karsten Hopp |
7e8408 |
{"Perl_sv_free2", (PERL_PROC*)&Perl_sv_free2},
|
|
Karsten Hopp |
7e8408 |
! {"Perl_sys_init3", (PERL_PROC*)&Perl_sys_init3},
|
|
Karsten Hopp |
7e8408 |
{"Perl_sys_term", (PERL_PROC*)&Perl_sys_term},
|
|
Karsten Hopp |
7e8408 |
{"Perl_ISv_ptr", (PERL_PROC*)&Perl_ISv_ptr},
|
|
Karsten Hopp |
7e8408 |
{"Perl_Istack_sp_ptr", (PERL_PROC*)&Perl_Istack_sp_ptr},
|
|
Karsten Hopp |
7e8408 |
--- 372,378 ----
|
|
Karsten Hopp |
7e8408 |
{"Perl_Tna_ptr", (PERL_PROC*)&Perl_Tna_ptr},
|
|
Karsten Hopp |
7e8408 |
#else
|
|
Karsten Hopp |
7e8408 |
{"Perl_sv_free2", (PERL_PROC*)&Perl_sv_free2},
|
|
Karsten Hopp |
7e8408 |
! {"Perl_sys_init", (PERL_PROC*)&Perl_sys_init},
|
|
Karsten Hopp |
7e8408 |
{"Perl_sys_term", (PERL_PROC*)&Perl_sys_term},
|
|
Karsten Hopp |
7e8408 |
{"Perl_ISv_ptr", (PERL_PROC*)&Perl_ISv_ptr},
|
|
Karsten Hopp |
7e8408 |
{"Perl_Istack_sp_ptr", (PERL_PROC*)&Perl_Istack_sp_ptr},
|
|
Karsten Hopp |
7e8408 |
***************
|
|
Karsten Hopp |
7e8408 |
*** 460,466 ****
|
|
Karsten Hopp |
7e8408 |
static char *argv[] = { "", "-e", "" };
|
|
Karsten Hopp |
7e8408 |
|
|
Karsten Hopp |
7e8408 |
#if (PERL_REVISION == 5) && (PERL_VERSION >= 10)
|
|
Karsten Hopp |
7e8408 |
! Perl_sys_init3(&argc, (char***)&argv, NULL);
|
|
Karsten Hopp |
7e8408 |
#endif
|
|
Karsten Hopp |
7e8408 |
perl_interp = perl_alloc();
|
|
Karsten Hopp |
7e8408 |
perl_construct(perl_interp);
|
|
Karsten Hopp |
7e8408 |
--- 460,466 ----
|
|
Karsten Hopp |
7e8408 |
static char *argv[] = { "", "-e", "" };
|
|
Karsten Hopp |
7e8408 |
|
|
Karsten Hopp |
7e8408 |
#if (PERL_REVISION == 5) && (PERL_VERSION >= 10)
|
|
Karsten Hopp |
7e8408 |
! Perl_sys_init(&argc, (char***)&argv);
|
|
Karsten Hopp |
7e8408 |
#endif
|
|
Karsten Hopp |
7e8408 |
perl_interp = perl_alloc();
|
|
Karsten Hopp |
7e8408 |
perl_construct(perl_interp);
|
|
Karsten Hopp |
7e8408 |
*** ../vim-7.2.062/src/version.c Wed Dec 3 11:21:20 2008
|
|
Karsten Hopp |
7e8408 |
--- src/version.c Wed Dec 3 12:42:50 2008
|
|
Karsten Hopp |
7e8408 |
***************
|
|
Karsten Hopp |
7e8408 |
*** 678,679 ****
|
|
Karsten Hopp |
7e8408 |
--- 678,681 ----
|
|
Karsten Hopp |
7e8408 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
7e8408 |
+ /**/
|
|
Karsten Hopp |
7e8408 |
+ 63,
|
|
Karsten Hopp |
7e8408 |
/**/
|
|
Karsten Hopp |
7e8408 |
|
|
Karsten Hopp |
7e8408 |
--
|
|
Karsten Hopp |
7e8408 |
Windows
|
|
Karsten Hopp |
7e8408 |
M!uqoms
|
|
Karsten Hopp |
7e8408 |
|
|
Karsten Hopp |
7e8408 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
7e8408 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
7e8408 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
7e8408 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|