summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-04-05 22:30:16 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-04-06 06:09:27 -0700
commit4cdd48d8aacaf1f4775166dabd4fab9452b1e91a (patch)
treefcf9f9d7e2053b2b6460157786059da6c6a6997f /pp.c
parentd4b629d054c4d4673eb40198700efd5b01407cb7 (diff)
downloadperl-4cdd48d8aacaf1f4775166dabd4fab9452b1e91a.tar.gz
[perl #87708] use integer; $tied <=> $tied
This is just part of #87708. This fixes <=> under ‘use integer’ when the same tied scalar is used for both operands and returns two different values. Before this com- mit, get-magic would be called only once and the same value used. In 5.12.x, the operands would be reversed.
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp.c b/pp.c
index 9858f91b48..a1bc15b8d0 100644
--- a/pp.c
+++ b/pp.c
@@ -3049,7 +3049,7 @@ PP(pp_i_ncmp)
dVAR; dSP; dTARGET;
tryAMAGICbin_MG(ncmp_amg, 0);
{
- dPOPTOPiirl_nomg;
+ dPOPTOPiirl_halfmg;
I32 value;
if (left > right)