diff options
author | Russell Belfer <rb@github.com> | 2014-03-12 11:21:55 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2014-03-12 11:21:55 -0700 |
commit | 5302a88538c870028f2623b099c66c800f5cfe68 (patch) | |
tree | 473517cf5e447c8cc25e5e2430ac6d640bafb910 /tests/diff/diffiter.c | |
parent | 9af14886a94ca4d08c7af1ba84b21cba40fce34c (diff) | |
download | libgit2-5302a88538c870028f2623b099c66c800f5cfe68.tar.gz |
Fix pqueue sort boundary condition bug
If the pqueue comparison fn returned just 0 or 1 (think "a<b")
then the sort order of returned items could be wrong because there
was a "< 0" that really needed to be "<= 0". Yikes!!!
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions