diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1997-11-23 08:26:00 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1997-11-23 08:26:00 +0000 |
commit | d8b5173a253b0e32501b412922cc7aba3e1c7072 (patch) | |
tree | 8699dca6bf61de6029ae5179ad0d0e44a266817a /op.c | |
parent | 977336f534851e24a2161d3011e030ea4043a2ae (diff) | |
parent | d7de06700e5c5216cde5bae1cd5b7fed260b4270 (diff) | |
download | perl-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.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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) { |