This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
To make the current implementation of sv_replace sane, we should
authorNicholas Clark <nick@ccl4.org>
Thu, 25 Aug 2005 14:06:43 +0000 (14:06 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 25 Aug 2005 14:06:43 +0000 (14:06 +0000)
commit7437becc789e98e37551293e8c645c4aa36fdd5d
tree4a62833e0cc296d755014c89ba6edf076ea99bcf
parent30e5c352c9c1099120007e8b6e9318a33d99b3bb
To make the current implementation of sv_replace sane, we should
assert that the reference count of the target is also 1.
(Given that we're splatting an SV with a reference count of 1 onto
the target)

p4raw-id: //depot/perl@25331
sv.c