--- 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 =~ /^!<arch>\x0A(.{48}([0-9 ]{9})\x60\x0A(......))/s) {
+ if ($typeBuf =~ /^!<arch>\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: