On Sun, 26 Feb 2023 at 17:06, Dave Mitchell <davem@iabyn.com> wrote:
> unchanged: only when built with -DPERL_RC_STACK does it behave
>
By this I am pretty sure he means feeding Configure the following:
-Accflags=-DPERL_RC_STACK
You can validate that you have built Perl correctly by doing
./perl -V | grep PERL_RC_STACK
if it outputs PERL_RC_STACK then you have done it correctly.
For those who want a simple example of the bug that this patch fixes here
is a simple example:
With blead perl this program should print out "foo", but does not.
$ perl -le'my @a=("foo"); sub t {@{$_[0]}=(); print $_[1];} t(\@a,$a[0]);'
With Dave's branch it behaves as expected:
$ ./perl -le'my @a=("foo"); sub t {@{$_[0]}=(); print $_[1];}
t(\@a,$a[0]);'
foo
cheers,
yves
Thread Previous
|
Thread Next