summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2008-03-08 21:23:14 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2008-03-08 21:23:14 +0000
commiteeaa432e2a950edd021acd7deffa8ed8b45939c3 (patch)
treeab8e5fe2d7c7f32e6f74636dc586fe2238745c96 /tools
parent0bb7de356aace5765fdf2faba5f52b9c285edc7c (diff)
downloadwireshark-eeaa432e2a950edd021acd7deffa8ed8b45939c3.tar.gz
Warn if a file does not have an SVN Id tag in it.
svn path=/trunk/; revision=24587
Diffstat (limited to 'tools')
-rwxr-xr-xtools/checkAPIs.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl
index e1e2d92694..e76d105e7a 100755
--- a/tools/checkAPIs.pl
+++ b/tools/checkAPIs.pl
@@ -175,6 +175,11 @@ while ($_ = $ARGV[0])
$errorCount++;
}
+ if (! ($fileContents =~ m{\$Id.*\$}))
+ {
+ print "Warning: ".$filename." does not have an SVN Id tag.\n";
+ }
+
# Remove all the C-comments and strings
$fileContents =~ s {$commentAndStringRegex} []g;