(Retracted by #11714)
authorJarkko Hietaniemi <jhi@iki.fi>
Sat, 18 Aug 2001 03:22:24 +0000 (03:22 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 18 Aug 2001 03:22:24 +0000 (03:22 +0000)
commitaf903f693e49116b2e364fd529103fa436976640
tree7c61d7e588b2bc7f46203143701fdaa2dd701fd4
parent0a66a22ff50145064e05e80dfd0a1368645cf197
(Retracted by #11714)

Okay analysis, debatable fix.  (The fix will inc
the refcount of all temporary match objects,
like for example tied(%h) =~ /^.../ from Tie/RefHash.t,
which will then cause griping at untie() time
("inner references remain").

Fix for ID 20010407.006: PL_reg_sv got wiped out
by freetemps if the match target was a temporary
(like function_call() =~ /.../), which in turn meant
that the $1 et al stopped working if they had UTF-8
in them.  Therefore bump up the refcount of PL_reg_sv.

p4raw-id: //depot/perl@11712
pp_hot.c
t/op/pat.t