summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2004-06-29 15:26:34 +0000
committerNicholas Clark <nick@ccl4.org>2004-06-29 15:26:34 +0000
commit37d2ac1837312847ffa94e41a7233dcd5cd4c1fe (patch)
tree0770464dc3eb2443e7088c68a15bf5bb82d722e4 /sv.c
parentb64ba24ccbc4997863a040c844f7277cafb08de3 (diff)
downloadperl-37d2ac1837312847ffa94e41a7233dcd5cd4c1fe.tar.gz
Note that sv_2mortal isn't just "increase reference count by 1, and
mark that it needs a deferred recount" p4raw-id: //depot/perl@23011
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index db872e1d27..4e519a1644 100644
--- a/sv.c
+++ b/sv.c
@@ -7574,7 +7574,9 @@ Perl_sv_newmortal(pTHX)
Marks an existing SV as mortal. The SV will be destroyed "soon", either
by an explicit call to FREETMPS, or by an implicit call at places such as
-statement boundaries. See also C<sv_newmortal> and C<sv_mortalcopy>.
+statement boundaries. SvTEMP() is turned on which means that the SV's
+string buffer can be "stolen" if this SV is copied. See also C<sv_newmortal>
+and C<sv_mortalcopy>.
=cut
*/