summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-27 17:15:31 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-27 17:15:31 +0000
commit28c517bd5a2418308e95b6371d5ec0240ede5762 (patch)
tree2db6cf70288c42d03e3c8e0ccc185e490aa4a721 /src
parenta90eb0b6de0f35441089aceca530672e5dc7e9b1 (diff)
downloadperl_checker-28c517bd5a2418308e95b6371d5ec0240ede5762.tar
perl_checker-28c517bd5a2418308e95b6371d5ec0240ede5762.tar.gz
perl_checker-28c517bd5a2418308e95b6371d5ec0240ede5762.tar.bz2
perl_checker-28c517bd5a2418308e95b6371d5ec0240ede5762.tar.xz
perl_checker-28c517bd5a2418308e95b6371d5ec0240ede5762.zip
recognize binmode() (for eg urpmi)
Diffstat (limited to 'src')
-rw-r--r--src/global_checks.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/global_checks.ml b/src/global_checks.ml
index b12284c..0140c44 100644
--- a/src/global_checks.ml
+++ b/src/global_checks.ml
@@ -184,7 +184,7 @@ let is_global_var context ident =
| I_func ->
(match ident with
| "-b" | "-c" | "-d" | "-e" | "-f" | "-l" | "-o" | "-p" | "-r" | "-S" | "-s" | "-w" | "-x" | "-z" | "-t"
- | "abs" | "alarm" | "atan2" | "bless"
+ | "abs" | "alarm" | "atan2" | "binmode" | "bless"
| "caller" | "chdir" | "chmod" | "chomp" | "chop" | "chown" | "chr" | "chroot" | "close" | "closedir" | "cos" | "crypt"
| "defined" | "delete" | "die"
| "each" | "endpwent" | "eof" | "eval" | "exec" | "exists" | "exit"