Continuing my testing of BC4 I found that it erroneously declares two large files identical if no differences are found within the initial 13-15MB of data. I'm not sure about the limits, they also seem to vary. Uploading an example pair is hopeless but you can artificially create a pair like below:
dd if=/dev/zero bs=1M seek=32 count=0 of=bc4test.a
echo a >> bc4test.a
dd if=/dev/zero bs=1M seek=32 count=0 of=bc4test.b
echo b >> bc4test.b
bcompare bc4test.a bc4test.b
and see what happens.
On my system the files are reported equal while only the initial ~13MB diff is shown in the Hexview.
BC3 does work fine in such cases.
btw, would be nice to know what are the size limits that BC3, BC4 are supposed to handle safely (naturally, assuming plenty of RAM memory is available).
Regards,
/Mikko
dd if=/dev/zero bs=1M seek=32 count=0 of=bc4test.a
echo a >> bc4test.a
dd if=/dev/zero bs=1M seek=32 count=0 of=bc4test.b
echo b >> bc4test.b
bcompare bc4test.a bc4test.b
and see what happens.
On my system the files are reported equal while only the initial ~13MB diff is shown in the Hexview.
BC3 does work fine in such cases.
btw, would be nice to know what are the size limits that BC3, BC4 are supposed to handle safely (naturally, assuming plenty of RAM memory is available).
Regards,
/Mikko
Comment