summaryrefslogtreecommitdiffstats
path: root/src/global_checks.ml
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
commit2ab222dc73da1b6f90ce9ff6fdae84098c61f596 (patch)
tree2db6cf70288c42d03e3c8e0ccc185e490aa4a721 /src/global_checks.ml
parent8b5ce1e6da0082846da36b054da847ed628f4f4c (diff)
downloadperl_checker-2ab222dc73da1b6f90ce9ff6fdae84098c61f596.tar
perl_checker-2ab222dc73da1b6f90ce9ff6fdae84098c61f596.tar.gz
perl_checker-2ab222dc73da1b6f90ce9ff6fdae84098c61f596.tar.bz2
perl_checker-2ab222dc73da1b6f90ce9ff6fdae84098c61f596.tar.xz
perl_checker-2ab222dc73da1b6f90ce9ff6fdae84098c61f596.zip
recognize binmode() (for eg urpmi)
Diffstat (limited to 'src/global_checks.ml')
-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"