1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

r24421: Ignore long #defines (like for registry keys).

Guenther
(This used to be commit b310b1dfd6)
This commit is contained in:
Günther Deschner
2007-08-14 15:40:49 +00:00
committed by Gerald (Jerry) Carter
parent 6c3d3bc0fa
commit 1ba6b71691

View File

@ -3,7 +3,8 @@
open( INFILE, "$ARGV[0]" ) || die $@;
$count = 0;
while ( <INFILE> ) {
while ( <INFILE> ) {
next if ($_ =~ /^#define/);
$count++ if (length($_) > 80);
}