diff options
author | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-09-29 16:44:16 +0000 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-09-29 16:44:16 +0000 |
commit | 8f95159f0f6f551c08c5f6e1a4d8807b332bc21a (patch) | |
tree | 74361aedc5a1372fab26b8d5802ff1d156440208 /sv.c | |
parent | 07b7370725c6ec32f15c00e2d8d38d18f4b75a2d (diff) | |
parent | 7cb3fdbc2b45d54cfc6aac117f89b42d632cb3ed (diff) | |
download | perl-8f95159f0f6f551c08c5f6e1a4d8807b332bc21a.tar.gz |
Start merge with maint-5.004 branch by creating an ancestral
branch point via a fake resolution with the maint-merge branch.
See Perforce Tech Note 9 for details.
p4raw-id: //depot/perl@77
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -4043,10 +4043,9 @@ I32 n; } SV* -sv_bless3(sv,stash,zaptilde) +sv_bless(sv,stash) SV* sv; HV* stash; -bool zaptilde; { dTHR; SV *ref; @@ -4059,8 +4058,6 @@ bool zaptilde; if (SvOBJECT(ref)) { if (SvTYPE(ref) != SVt_PVIO) --sv_objcount; - if (zaptilde && SvRMAGICAL(ref)) - sv_unmagic(ref, '~'); /* stop cross-class pointer forgery */ SvREFCNT_dec(SvSTASH(ref)); } } @@ -4080,14 +4077,6 @@ bool zaptilde; return sv; } -SV* -sv_bless(sv,stash) -SV* sv; -HV* stash; -{ - return sv_bless3(sv, stash, FALSE); -} - static void sv_unglob(sv) SV* sv; |