This commit changed the warning to an error and reworded it, but never
updated the docs (this commit completes the TODO):
perl-5.8.0-5715-g30e5c35
commit
30e5c352c9c1099120007e8b6e9318a33d99b3bb
Author: Nicholas Clark <nick@ccl4.org>
Date: Thu Aug 25 13:46:31 2005 +0000
Promote the warning about reference miscount in sv_replace to a panic.
TODO - document the panics
p4raw-id: //depot/perl@25330
(P) Something requested a negative number of bytes of realloc.
+=item panic: reference miscount on nsv in sv_replace() (%d != 1)
+
+(P) The internal sv_replace() function was handed a new SV with a
+reference count other than 1.
+
=item panic: restartop
(P) Some internal routine requested a goto (or something like it), and
(W misc) You have attempted to weaken a reference that is already weak.
Doing so has no effect.
-=item Reference miscount in sv_replace()
-
-(W internal) The internal sv_replace() function was handed a new SV with
-a reference count other than 1.
-
=item Reference to invalid group 0
(F) You used C<\g0> or similar in a regular expression. You may refer to