summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2013-08-07 18:04:03 -0400
committerOz Linden <oz@lindenlab.com>2013-08-07 18:04:03 -0400
commite51e79c4d4147f89304a03ef5ee9ec4dfe886d52 (patch)
treeb86e57b8fb3702ac112df29a48212281b9742076
parent4ae06c7e3340e09ffe6b54dccd4faeb210330d7e (diff)
truncate gpu id strings to 100 characters (avoids diff problems)
-rwxr-xr-xscripts/gpu_table_tester1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/gpu_table_tester b/scripts/gpu_table_tester
index 76994da1aa..6989e6f968 100755
--- a/scripts/gpu_table_tester
+++ b/scripts/gpu_table_tester
@@ -175,6 +175,7 @@ my %RecognizedBy;
while (<>)
{
chomp;
+ $_ = substr($_,0,100);
my $lcInput = lc $_; # the real gpu table parser lowercases the input string
my $recognizer;
$RecognizedBy{$_} = $NoMatch;