summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-08-14 15:40:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:44 -0500
commit1ba6b7169121f4e363abf51ca6f714c62b200583 (patch)
treecbdc9af77586fd8982de9133cfec2aa8a80cb5c1 /source3/script
parent6c3d3bc0faf627410c0c09d8be93b985b4e3774c (diff)
downloadsamba-1ba6b7169121f4e363abf51ca6f714c62b200583.tar.gz
samba-1ba6b7169121f4e363abf51ca6f714c62b200583.tar.bz2
samba-1ba6b7169121f4e363abf51ca6f714c62b200583.zip
r24421: Ignore long #defines (like for registry keys).
Guenther (This used to be commit b310b1dfd69ba0470b66eb84007f28e5e69e92e7)
Diffstat (limited to 'source3/script')
-rwxr-xr-xsource3/script/count_80_col.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/script/count_80_col.pl b/source3/script/count_80_col.pl
index e1c8ff46a2..8b226228c9 100755
--- 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);
}