# HG changeset patch # User kelvzhu # Date 1287978801 -28800 # Node ID 8ee61c1e0c5c90277df1f19b1b05c4819607e660 # Parent 02d78c9f018ecfb5c0b584532908ddc319fbf7c4 fix bug #3691: Fix for Bug 2413 create regression for ARM lib files. diff -r 02d78c9f018e -r 8ee61c1e0c5c bintools/evalid/EvalidCompare.pm --- a/bintools/evalid/EvalidCompare.pm Wed Oct 13 17:57:18 2010 +0800 +++ b/bintools/evalid/EvalidCompare.pm Mon Oct 25 11:53:21 2010 +0800 @@ -231,7 +231,7 @@ } } - if ($typeBuf =~ /^!\x0A(.{48}([0-9 ]{9})\x60\x0A(......))/s) { + if ($typeBuf =~ /^!\x0A(.{48}([0-9 ]{9}).\x60\x0A(......))/s) { # library - could be MARM or WINS $typeBuf = $1; @@ -240,7 +240,7 @@ open (FILE, $file) or die "Error: Couldn't open \"$file\" for reading: $!\n"; binmode (FILE); - while ($typeBuf =~ /^.{48}([0-9 ]{9})\x60\x0A(......)/s) { + while ($typeBuf =~ /^.{48}([0-9 ]{9}).\x60\x0A(......)/s) { # $1 is the size of the archive member, $2 is first 6 bytes of the file # There may be several different sorts of file in the archive, and we # need to scan through until we find a type we recognize: