This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a804e65
)
inline.h: Fix comment
author
Karl Williamson
<khw@cpan.org>
Fri, 11 Mar 2016 16:56:48 +0000
(09:56 -0700)
committer
Karl Williamson
<khw@cpan.org>
Fri, 11 Mar 2016 21:49:26 +0000
(14:49 -0700)
inline.h
patch
|
blob
|
blame
|
history
diff --git
a/inline.h
b/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 fi
nal
NUL.
+immediately before the fi
rst (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].