aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2010-10-02 01:34:31 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2010-10-02 01:34:31 +0000
commitc39f84051933651d65e0559f82c09107b88727e0 (patch)
tree933ef28330c286f39e60b633919e5aa30465319e /tools
parent3bdab149af20943d898a34db32b0afa1259243b8 (diff)
When checking hf, do a case-insensitive comparison between the name and the blurb.
svn path=/trunk/; revision=34323
Diffstat (limited to 'tools')
-rwxr-xr-xtools/checkAPIs.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl
index 113944acfc..7b65c26ebc 100755
--- a/tools/checkAPIs.pl
+++ b/tools/checkAPIs.pl
@@ -992,8 +992,8 @@ 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 eq $blurb) {
- print STDERR "Warning: the blurb for field $name matches the field name in $filename\n";
+ if ($name =~ m/$blurb/i) {
+ print STDERR "Warning: the blurb for field $name ($abbrev) matches the field name in $filename\n";
}
if ($name =~ m/"\s+/) {
print STDERR "Warning: leading space in field $name ($abbrev) in $filename\n";