aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2010-10-02 01:47:16 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2010-10-02 01:47:16 +0000
commit4dc93213e359a0410f98a66238e9cbda70d0ad35 (patch)
tree013ebb4edb75895f1017139e68d0ab7c50519b3f /tools
parentc39f84051933651d65e0559f82c09107b88727e0 (diff)
Don't use a regexp to compare the name to the blurb, just convert them both to lower case before doing the comparison.
svn path=/trunk/; revision=34324
Diffstat (limited to 'tools')
-rwxr-xr-xtools/checkAPIs.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl
index 7b65c26ebc..a723de0b71 100755
--- a/tools/checkAPIs.pl
+++ b/tools/checkAPIs.pl
@@ -992,7 +992,7 @@ sub check_hf_entries($$)
if ($name eq $abbrev) {
print STDERR "Warning: the abbreviation for field $name matches the field name in $filename\n";
}
- if ($name =~ m/$blurb/i) {
+ if (lc($name) eq lc($blurb)) {
print STDERR "Warning: the blurb for field $name ($abbrev) matches the field name in $filename\n";
}
if ($name =~ m/"\s+/) {