summaryrefslogtreecommitdiff
path: root/inline.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-03-11 09:56:48 -0700
committerKarl Williamson <khw@cpan.org>2016-03-11 14:49:26 -0700
commitfa6c7d00a8b0cf48c0f78066f87065cfb43d601b (patch)
tree5853b2dee601d7766bd6f1fe678601dc9f7ce41c /inline.h
parenta804e6572c5363bf7918934332cd0dd4c4979088 (diff)
downloadperl-fa6c7d00a8b0cf48c0f78066f87065cfb43d601b.tar.gz
inline.h: Fix comment
Diffstat (limited to 'inline.h')
-rw-r--r--inline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/inline.h b/inline.h
index 492a965036..9a674bce85 100644
--- a/inline.h
+++ b/inline.h
@@ -321,7 +321,7 @@ S_is_safe_syscall(pTHX_ const char *pv, STRLEN len, const char *what, const char
/*
Return true if the supplied filename has a newline character
-immediately before the final NUL.
+immediately before the first (hopefully only) NUL.
My original look at this incorrectly used the len from SvPV(), but
that's incorrect, since we allow for a NUL in pv[len-1].