Fixed Bug 2413 for evalid
authorkelvzhu
Tue, 27 Jul 2010 13:00:43 +0800
changeset 621 96fee2635b19
parent 620 ad8ffc8e1982
child 622 c26070468a42
child 624 f70b728ea30c
Fixed Bug 2413 for evalid
bintools/evalid/EvalidCompare.pm
bintools/evalid/tools_evalid.history.xml
--- a/bintools/evalid/EvalidCompare.pm	Mon Jul 26 11:04:29 2010 +0800
+++ b/bintools/evalid/EvalidCompare.pm	Tue Jul 27 13:00:43 2010 +0800
@@ -231,7 +231,7 @@
     }
   }
 
-  if ($typeBuf =~ /^!<arch>\x0A(.{48}([0-9 ]{10})\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 ]{10})\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:
--- a/bintools/evalid/tools_evalid.history.xml	Mon Jul 26 11:04:29 2010 +0800
+++ b/bintools/evalid/tools_evalid.history.xml	Tue Jul 27 13:00:43 2010 +0800
@@ -18,6 +18,10 @@
 <relnotes name="EVALID">
   <purpose>
   </purpose>
+	
+	<defect number="Bug 2413" title="evalid not so happy identifying libs created by new mwldsym2.exe" revision="008">
+     EVALID : evalid not so happy identifying libs created by new mwldsym2.exe
+  </defect>
 
   <defect number="DEF120580" title="EVALID : x86 static library comparisons sometimes fail when they shouldn't" revision="007">
      EVALID : x86 static library comparisons sometimes fail when they shouldn't