summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-11-19 06:39:48 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-11-19 06:39:48 -0800
commite8608f33d09d88f3da5ddb7de95145b646b3fba3 (patch)
tree6d0b166c6dfd28a232d2ceb48e826503ada57916 /sv.c
parent6380cb69679b54a8623ac98abfea7f9f43b264c3 (diff)
downloadperl-e8608f33d09d88f3da5ddb7de95145b646b3fba3.tar.gz
Correct sv_catsv_flags docs
Get-magic is only called on ssv. SV_SMAGIC is accepted, too.
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 330937c8d0..5386373b3d 100644
--- a/sv.c
+++ b/sv.c
@@ -5040,7 +5040,9 @@ not 'set' magic. See C<sv_catsv_mg>.
Concatenates the string from SV C<ssv> onto the end of the string in
SV C<dsv>. Modifies C<dsv> but not C<ssv>. If C<flags> has C<SV_GMAGIC>
-bit set, will C<mg_get> on the SVs if appropriate, else not. C<sv_catsv>
+bit set, will C<mg_get> on the C<ssv>, if appropriate, before
+reading it. If the C<flags> contain C<SV_SMAGIC>, C<mg_set> will be
+called on the modified SV afterward, if appropriate. C<sv_catsv>
and C<sv_catsv_nomg> are implemented in terms of this function.
=cut */