diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-25 23:28:29 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-25 23:28:29 +0000 |
commit | 064f5cb2b2397e2b7093e057a1a21889bcc90f62 (patch) | |
tree | d0f9669c42f95d092ba8477128b4e8f386458513 | |
parent | 1911c76fab2a7d6bf3d83f7efa3562e700e0e7d8 (diff) | |
download | perl_checker-064f5cb2b2397e2b7093e057a1a21889bcc90f62.tar perl_checker-064f5cb2b2397e2b7093e057a1a21889bcc90f62.tar.gz perl_checker-064f5cb2b2397e2b7093e057a1a21889bcc90f62.tar.bz2 perl_checker-064f5cb2b2397e2b7093e057a1a21889bcc90f62.tar.xz perl_checker-064f5cb2b2397e2b7093e057a1a21889bcc90f62.zip |
recognize getpgrp() (for eg: iurt)
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/global_checks.ml | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -4,6 +4,7 @@ - perl_checker: o recognize \B in regexps o recognize -p (pipe test) & -S (socket test) + o recognize getpgrp() o kill "undeclared variable $^S" Version 1.2.17 - 19 March 2012, by Thierry Vignaud diff --git a/src/global_checks.ml b/src/global_checks.ml index af651b0..b12284c 100644 --- a/src/global_checks.ml +++ b/src/global_checks.ml @@ -189,7 +189,8 @@ let is_global_var context ident = | "defined" | "delete" | "die" | "each" | "endpwent" | "eof" | "eval" | "exec" | "exists" | "exit" | "fcntl" | "fileno" | "flock" | "formline" | "fork" - | "gethostbyaddr" | "gethostbyname" | "getgrent" | "getgrnam" | "getgrgid" | "getppid" | "getpwent" | "getpwnam" | "getpwuid" | "getservbyname" | "glob" | "gmtime" | "goto" | "grep" | "hex" + | "gethostbyaddr" | "gethostbyname" | "getgrent" | "getgrnam" | "getgrgid" + | "getpgrp" | "getppid" | "getpwent" | "getpwnam" | "getpwuid" | "getservbyname" | "glob" | "gmtime" | "goto" | "grep" | "hex" | "index" | "int" | "ioctl" | "join" | "keys" | "kill" | "last" | "lc" | "lcfirst" | "length" | "link" | "localtime" | "log" | "lstat" | "map" | "mkdir" | "next" | "no" | "oct" | "open" | "opendir" | "ord" |