[Bug] 0 equals 1???
-
Please paste these into 2 different files and compare them :
File1----->11111111111111111111111111111111
File2----->00000000000000000000000000000000
They both match
-
are you using the latest compare plugin version?
Which npp and os version?
And it is probably better to report it at https://github.com/pnedev/compare-plugin/issues
Although @pnedev, from time to time visits this community.Cheers
Claudia -
Hello, @dinesh-j-prakash, @claudia-frank and All,
You’re quite right. I’ve just tried with the last Compare
v2.0.0
plugin, and N++v7.5.1
, on my Win XP SP3 laptop. Indeed, there a (small) bug !I noticed that
3
conditions are mandatory to reproduce this bug :-
Each line must have a same amount of characters, whatever they are
-
The length, of each line, must be a multiple of
32
( so length must be32
,64
,96
,… ) !! ?? -
All characters, of each line, must be identical
I do hope, @pnedev that you’ll be able to sort it out, easily ;-))
Best Regards,
guy038
-
-
Hello all,
@Dinesh-J-Prakash , thank you for reporting this.
@Claudia-Frank , thank you for commenting.
@guy038 , thank you for the detailed investigation.This problem has already been reported in the GitHub project page (https://github.com/pnedev/compare-plugin/issues/128)
and I have already fixed it in the development branch. I’m preparing a new release but since it is a major plugin rework and I’m quite busy these days it is taking longer than I thought. I hope I’ll be able to release the new version in month or two.
Just FYI the problem was with the hashing function used in the compare process.BR