git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c39f840
)
Don't use a regexp to compare the name to the blurb, just convert them both to lower...
author
Jeff Morriss
<jeff.morriss@ulticom.com>
Sat, 2 Oct 2010 01:47:16 +0000
(
01:47
-0000)
committer
Jeff Morriss
<jeff.morriss@ulticom.com>
Sat, 2 Oct 2010 01:47:16 +0000
(
01:47
-0000)
svn path=/trunk/; revision=34324
tools/checkAPIs.pl
patch
|
blob
|
history
diff --git
a/tools/checkAPIs.pl
b/tools/checkAPIs.pl
index 7b65c26ebc252627d0882c4c312d0a9ccdec1a88..a723de0b71f04143d2a2911ea74448029ba25850 100755
(executable)
--- 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+/) {