diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-11-22 14:18:57 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-11-22 21:29:34 -0800 |
commit | ccfb6d2e1e8668ebdb5e565a5a30318555474624 (patch) | |
tree | 4ae3999d8a8d2924914ccba8f325d94f754c767d /pod/perldiag.pod | |
parent | f84fe999df8300fda78977ddab0e5ba823ae3476 (diff) | |
download | perl-ccfb6d2e1e8668ebdb5e565a5a30318555474624.tar.gz |
Correct perldiag entry for sv_replace panic
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
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r-- | pod/perldiag.pod | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index f143b675af..725f77f401 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -3556,6 +3556,11 @@ data. (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 @@ -4006,11 +4011,6 @@ parens. In any case, a hash requires key/value B<pairs>. (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 |