]> git.ipfire.org Git - thirdparty/zstd.git/commit
zstd requires a stable sort. 1100/head
authorBjörn Ketelaars <bjorn.ketelaars@hydroxide.nl>
Thu, 5 Apr 2018 05:17:17 +0000 (07:17 +0200)
committerBjörn Ketelaars <bjorn.ketelaars@hydroxide.nl>
Thu, 5 Apr 2018 05:59:16 +0000 (07:59 +0200)
commit462aed68112c814815c832f921d056db5a3d4289
treebedd6ae396850ba9014bcf62ffa6cc60de883f26
parent55f67502f4b9a7dfe7c0cd6d8914e54f9f285b7a
zstd requires a stable sort.

On OpenBSD qsort() is not guaranteed to be stable, their mergesort() is.
This fixes issue #1088. All the hard work has been done by @terrelln.
lib/dictBuilder/cover.c