summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-11-19 06:35:23 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-11-19 06:35:23 -0800
commit122a5be2d49907a653f43f07c75b68f75709e546 (patch)
treeb6ea0d5f12d341593a03540d2e4a12633f6300b7
parent151cea252da4316fddd84956c61bbb23ecff1bb5 (diff)
downloadperl-122a5be2d49907a653f43f07c75b68f75709e546.tar.gz
Correct sv_catpvn_flags docs
It respects SV_SMAGIC flag, not SV_GMAGIC (which it ignores).
-rw-r--r--sv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sv.c b/sv.c
index 69a1e2fb85..7a1a6b9193 100644
--- a/sv.c
+++ b/sv.c
@@ -4969,8 +4969,9 @@ Handles 'get' magic, but not 'set' magic. See C<sv_catpvn_mg>.
Concatenates the string onto the end of the string which is in the SV. The
C<len> indicates number of bytes to copy. If the SV has the UTF-8
status set, then the bytes appended should be valid UTF-8.
-If C<flags> has C<SV_GMAGIC> bit set, will C<mg_get> on C<dsv> if
-appropriate, else not. C<sv_catpvn> and C<sv_catpvn_nomg> are implemented
+If C<flags> has the C<SV_SMAGIC> bit set, will
+C<mg_set> on C<dsv> afterwards if appropriate.
+C<sv_catpvn> and C<sv_catpvn_nomg> are implemented
in terms of this function.
=cut