Menu

#8 FileAssert.assertBinaryEquals bug

Latest_release
open
nobody
5
2004-04-21
2004-04-21
No

When the difference is beyond the first 8192 bytes,
this method does not find it.
There is a spurious "return;" at line 258
(after "pos += expBuff.length;")

Discussion

  • Jean-Claude Dufourd

    Logged In: YES
    user_id=367256

    Another problem: expLength == 0 is not the right end test
    when the files are equal. The right test is expLength <= 0.

     
  • Jean-Claude Dufourd

    correctly tested proposed fix

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.