Messages in this thread Patch in this message | | | From | "Luis R. Rodriguez" <> | Subject | [PATCH 1/3] checkincludes.pl: close file as soon as we're done with it | Date | Wed, 5 Aug 2009 17:51:10 -0700 |
| |
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> --- scripts/checkincludes.pl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/checkincludes.pl b/scripts/checkincludes.pl index 8e6b716..32ebff6 100755 --- a/scripts/checkincludes.pl +++ b/scripts/checkincludes.pl @@ -13,12 +13,12 @@ foreach $file (@ARGV) { ++$includedfiles{$1}; } } + + close(FILE); foreach $filename (keys %includedfiles) { if ($includedfiles{$filename} > 1) { print "$file: $filename is included more than once.\n"; } } - - close(FILE); } -- 1.6.3.3
| |