Reference cmp'ing should go through the whole stringification
authorJarkko Hietaniemi <jhi@iki.fi>
Mon, 14 May 2001 13:10:34 +0000 (13:10 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 14 May 2001 13:10:34 +0000 (13:10 +0000)
process shebang, as pointed out by Sarathy in #10091.

p4raw-id: //depot/perl@10098

pp.c

diff --git a/pp.c b/pp.c
index d5e4dd7..91c0f19 100644 (file)
--- a/pp.c
+++ b/pp.c
@@ -1978,12 +1978,6 @@ PP(pp_sne)
 PP(pp_scmp)
 {
     dSP; dTARGET;  tryAMAGICbin(scmp,0);
-#ifndef NV_PRESERVES_UV
-    if (SvROK(TOPs) && SvROK(TOPm1s)) {
-       SETi(PTR2UV(SvRV(TOPs)) - PTR2UV(SvRV(TOPm1s)));
-       RETURN;
-    }
-#endif
     {
       dPOPTOPssrl;
       int cmp = ((PL_op->op_private & OPpLOCALE)