It appears Wireshark now has only ASCII in its source files; Treat non-ASCII chars as an error.

svn path=/trunk/; revision=28738
This commit is contained in:
Jeff Morriss 2009-06-15 15:16:52 +00:00
parent c53823afbf
commit bbc68754f6
1 changed files with 2 additions and 3 deletions

View File

@ -965,9 +965,8 @@ while ($_ = $ARGV[0])
if ($fileContents =~ m{ [\x80-\xFF] }xo)
{
print STDERR "Warning: Found non-ASCII characters in " .$filename."\n";
# Treat as warning
# $errorCount++;
print STDERR "Error: Found non-ASCII characters in " .$filename."\n";
$errorCount++;
}
if ($fileContents =~ m{ %ll }xo)