[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1249519872-23958-2-git-send-email-lrodriguez@atheros.com>
Date: Wed, 5 Aug 2009 17:51:10 -0700
From: "Luis R. Rodriguez" <lrodriguez@...eros.com>
To: <akpm@...ux-foundation.org>, <joe@...ches.com>,
<torvalds@...ux-foundation.org>
CC: <linux-kernel@...r.kernel.org>, <mcgrof@...il.com>,
"Luis R. Rodriguez" <lrodriguez@...eros.com>
Subject: [PATCH 1/3] checkincludes.pl: close file as soon as we're done with it
Signed-off-by: Luis R. Rodriguez <lrodriguez@...eros.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists