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
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add extra language in the quotemeta() docs for embedded \ and $
[perl5.git]
/
taint.c
diff --git
a/taint.c
b/taint.c
index
871d89f
..
5834548
100644
(file)
--- a/
taint.c
+++ b/
taint.c
@@
-170,7
+170,7
@@
Perl_taint_env(pTHX)
#endif
if (t < e && isWORDCHAR(*t))
t++;
- while (t < e && (isWORDCHAR(*t) ||
strchr
("-_.+", *t)))
+ while (t < e && (isWORDCHAR(*t) ||
memCHRs
("-_.+", *t)))
t++;
if (t < e) {
TAINT;