perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe M. Chiasson" <go...@ectoplasm.org>
Subject Re: Fix buggy boot_ statements in modperl_xsinit.c
Date Fri, 13 Oct 2006 05:40:36 GMT

On 5-Oct-06, at 5:10 AM, Nikolay Ananiev wrote:

> I spotted this on cygwin and perl 5.8.7, but it might happen on other
> platforms too.
> The problem is that $Config{static_ext} contains  ' Win32CORE' (with a
> leading space)
> and when ExtUtils::Embed::static_ext() splits the value we get an  
> array with
> 2
> elements - the space and Win32CORE.
> Then ExtUtils::Embed::xsinit doesn't check the array and directly  
> generates
> modperl_xsinit.c,
> which contains the following buggy lines:
>
> EXTERN_C void boot_ (pTHX_ CV* cv);
>
> and
>
> newXS("::bootstrap", boot_, file);

Thanks, checked in as revision 463493

Mime
View raw message