develooper Front page | perl.perl5.porters | Postings from September 2013

Re: [perl.git] branch blead, updated. v5.19.3-422-gccbcc28

Thread Previous | Thread Next
From:
Steve Hay
Date:
September 10, 2013 20:49
Subject:
Re: [perl.git] branch blead, updated. v5.19.3-422-gccbcc28
Message ID:
CADED=K7nNeHTSWDa0w5Um9t_5YMVO=NbXoL6Sa-RA_mFNS=uKA@mail.gmail.com
On 10 September 2013 21:31, Brian Fraser <fraserbn@gmail.com> wrote:
[...]
> The windows issue sounds like macro expansion works differently there; I
> think this should fix it, but I cannot test it right now:

Thanks, applied in commit ef3f731dc2 - that fixes the build for me :-)


>
> diff --git a/regcomp.c b/regcomp.c
> index 9da2849..3e6ec29 100644
> --- a/regcomp.c
> +++ b/regcomp.c
> @@ -565,9 +565,11 @@ static const scan_data_t zero_scan_data =
>
>  /* A specialized version of vFAIL2 that works with UTF8f */
>  #define vFAIL2utf8f(m, a1) STMT_START { \
> -    if (!SIZE_ONLY)                     \
> -        SAVEFREESV(RExC_rx_sv);         \
> -    Simple_vFAIL4(m, a1);               \
> +    const IV offset = RExC_parse - RExC_precomp;   \
> +    if (!SIZE_ONLY)                                \
> +        SAVEFREESV(RExC_rx_sv);                    \
> +    S_re_croak2(aTHX_ UTF, m, REPORT_LOCATION, a1, \
> +            REPORT_LOCATION_ARGS(offset));         \
>  } STMT_END
>
>
>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About