git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c3d3bc
)
r24421: Ignore long #defines (like for registry keys).
author
Günther Deschner
<gd@samba.org>
Tue, 14 Aug 2007 15:40:49 +0000
(15:40 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:29:44 +0000
(12:29 -0500)
Guenther
(This used to be commit
b310b1dfd69ba0470b66eb84007f28e5e69e92e7
)
source3/script/count_80_col.pl
patch
|
blob
|
history
diff --git
a/source3/script/count_80_col.pl
b/source3/script/count_80_col.pl
index e1c8ff46a2d5140239b3bf7eab7a84ffd20af9a6..8b226228c979127d164ca35e029f8f29403ad6a5 100755
(executable)
--- a/
source3/script/count_80_col.pl
+++ b/
source3/script/count_80_col.pl
@@
-3,7
+3,8
@@
open( INFILE, "$ARGV[0]" ) || die $@;
$count = 0;
-while ( <INFILE> ) {
+while ( <INFILE> ) {
+ next if ($_ =~ /^#define/);
$count++ if (length($_) > 80);
}