aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-02-21 19:36:39 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2014-04-02 08:57:22 +0000
commit255eca0c1ca1f70c1d060e70bd8bd321578b303c (patch)
treefc1ce8b376d5c6a2d368768608b2c8665d0648e6 /tools
parent781a41a008a8f26dc30f4a262d36f1ec571bcdab (diff)
Revert Remove check and inverse code to display a error if there is a $Id$
Change-Id: I7061ad312df5079924c927ca95a8fa111c756012 Reviewed-on: https://code.wireshark.org/review/498 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/checkAPIs.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl
index f4bf70a82e..1335bdd69c 100755
--- a/tools/checkAPIs.pl
+++ b/tools/checkAPIs.pl
@@ -2073,7 +2073,10 @@ while ($_ = $ARGV[0])
print STDERR "Error: Found %hh in " .$filename."\n";
$errorCount++;
}
-
+ if (($fileContents =~ m{ \$Id .* \$ }xo))
+ {
+ print STDERR "Warning: ".$filename." does have an SVN Id tag. Please remove !\n";
+ }
# Remove all the C-comments
$fileContents =~ s{ $CComment } []xog;