summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2018-01-16 16:18:24 +0000
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2018-01-16 16:18:24 +0000
commitad09401b0c4fff75d8814af3a9ce53376eb73cdd (patch)
tree1a11cf6abaa9efe1f47483aab89f00f9ce5359cb /sv.c
parentfefd4795653c0e793b69cef2956faf7c7f9db578 (diff)
downloadperl-ad09401b0c4fff75d8814af3a9ce53376eb73cdd.tar.gz
Fix stray > in L<perlapi/sv_usepvn_flags>
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index 5d3290d4f9..2c13b3b333 100644
--- a/sv.c
+++ b/sv.c
@@ -5035,7 +5035,7 @@ giving it to C<sv_usepvn>, and neither should any pointers from "behind"
that pointer (e.g. ptr + 1) be used.
If S<C<flags & SV_SMAGIC>> is true, will call C<SvSETMAGIC>. If
-S<C<flags> & SV_HAS_TRAILING_NUL>> is true, then C<ptr[len]> must be C<NUL>,
+S<C<flags & SV_HAS_TRAILING_NUL>> is true, then C<ptr[len]> must be C<NUL>,
and the realloc
will be skipped (i.e. the buffer is actually at least 1 byte longer than
C<len>, and already meets the requirements for storing in C<SvPVX>).