summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1997-11-23 08:26:00 +0000
committerGurusamy Sarathy <gsar@cpan.org>1997-11-23 08:26:00 +0000
commitd8b5173a253b0e32501b412922cc7aba3e1c7072 (patch)
tree8699dca6bf61de6029ae5179ad0d0e44a266817a /op.c
parent977336f534851e24a2161d3011e030ea4043a2ae (diff)
parentd7de06700e5c5216cde5bae1cd5b7fed260b4270 (diff)
downloadperl-d8b5173a253b0e32501b412922cc7aba3e1c7072.tar.gz
[win32] Initial reverse integration of winansi branch.
p4raw-id: //depot/win32/perl@285
Diffstat (limited to 'op.c')
-rw-r--r--op.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/op.c b/op.c
index d7a6fe4e16..2d9706bb08 100644
--- a/op.c
+++ b/op.c
@@ -531,8 +531,7 @@ find_threadsv(char *name)
case '\'':
sawampersand = TRUE;
SvREADONLY_on(sv);
- sv_magic(sv, 0, 0, name, 1);
- break;
+ /* FALL THROUGH */
default:
sv_magic(sv, 0, 0, name, 1);
}
@@ -3438,9 +3437,9 @@ newSUB(I32 floor, OP *o, OP *proto, OP *block)
CV *cv;
HV *hv;
- sv_setpvf(sv, "%_:%ld-%ld",
- GvSV(curcop->cop_filegv),
- (long)subline, (long)curcop->cop_line);
+ sv_setpvf(sv, "%_:%ld-%ld", GvSV(curcop->cop_filegv),
+ (long)(subline < 0 ? -subline : subline),
+ (long)curcop->cop_line);
gv_efullname3(tmpstr, gv, Nullch);
hv_store(GvHV(DBsub), SvPVX(tmpstr), SvCUR(tmpstr), sv, 0);
if (!db_postponed) {