This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
inline.h: Fix comment
authorKarl Williamson <khw@cpan.org>
Fri, 11 Mar 2016 16:56:48 +0000 (09:56 -0700)
committerKarl Williamson <khw@cpan.org>
Fri, 11 Mar 2016 21:49:26 +0000 (14:49 -0700)
inline.h

index 492a965..9a674bc 100644 (file)
--- 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].