diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-06 19:23:06 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-06 19:23:06 +0000 |
commit | e788e7d35b1f8979a002a1e994535be7aae30018 (patch) | |
tree | 441eb4c139c118d109a46c23ef6b62ad744408ac /sv.c | |
parent | 9bc648147f297cac824aecca53c6e0232b54c002 (diff) | |
download | perl-e788e7d35b1f8979a002a1e994535be7aae30018.tar.gz |
rename s/\bSI_/PERLSI_/ to avoid collisions with sysinfo headers
p4raw-id: //depot/perl@1339
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2010,7 +2010,7 @@ sv_setsv(SV *dstr, register SV *sstr) SvFAKE_on(dstr); /* can coerce to non-glob */ } /* ahem, death to those who redefine active sort subs */ - else if (curstackinfo->si_type == SI_SORT + else if (curstackinfo->si_type == PERLSI_SORT && GvCV(dstr) && sortcop == CvSTART(GvCV(dstr))) croak("Can't redefine active sort subroutine %s", GvNAME(dstr)); @@ -2107,7 +2107,7 @@ sv_setsv(SV *dstr, register SV *sstr) Nullcv)); /* ahem, death to those who redefine * active sort subs */ - if (curstackinfo->si_type == SI_SORT && + if (curstackinfo->si_type == PERLSI_SORT && sortcop == CvSTART(cv)) croak( "Can't redefine active sort subroutine %s", @@ -2799,7 +2799,7 @@ sv_clear(register SV *sv) destructor = gv_fetchmethod(SvSTASH(sv), "DESTROY"); if (destructor) { ENTER; - PUSHSTACKi(SI_DESTROY); + PUSHSTACKi(PERLSI_DESTROY); SvRV(&tmpref) = SvREFCNT_inc(sv); EXTEND(SP, 2); PUSHMARK(SP); |