On Wed, Aug 8, 2012 at 8:17 PM, Bram Moolenaar <[email protected]> wrote:
>
> Patch 7.3.623
> Problem:    Perl 5.14 commands crash Vim on MS-Windows.
> Solution:   Use perl_get_sv() instead of GvSV(). (Raymond Ko)
> Files:      src/if_perl.xs

if_perl still doesn't work.
For example, ":perldo $_ = 'xxx'" results all line empty.

I think that this problem is caused by mismatch of time_t size.
ActivePerl seems built with 32bit time_t.
After MSVC8, time_t is 64bit by default.
Since PL_xxx macro is extracted to like
"((PerlInterpreter *)perl_get_context())->xxx" and PerlInterpreter struct
has time_t member, accessing with PerlInterpreter->xxx is not safe.

As a workaround, building Vim with -D_USE_32BIT_TIME_T should work.

-- 
Yukihiro Nakadaira - [email protected]

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
  • Patch 7.3.623 Bram Moolenaar
    • Re: Patch 7.3.623 Yukihiro Nakadaira

Raspunde prin e-mail lui