projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7db86dc
)
checkincludes.pl: close file as soon as we're done with it
author
Luis R. Rodriguez
<lrodriguez@Atheros.com>
Fri, 18 Sep 2009 19:49:25 +0000
(12:49 -0700)
committer
Sam Ravnborg
<sam@ravnborg.org>
Sun, 20 Sep 2009 10:27:43 +0000
(12:27 +0200)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/checkincludes.pl
patch
|
blob
|
blame
|
history
diff --git
a/scripts/checkincludes.pl
b/scripts/checkincludes.pl
index 8e6b716c191c67a1b0668caf43a8bf777b271299..32ebff659fccd2677782560d9fcb70c3a5930536 100755
(executable)
--- 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);
}