- Use correct offsets into the keys set array. As the elements of this
authormarius <marius@FreeBSD.org>
Wed, 28 Dec 2016 17:13:03 +0000 (17:13 +0000)
committermarius <marius@FreeBSD.org>
Wed, 28 Dec 2016 17:13:03 +0000 (17:13 +0000)
commit367a1c5d16946958994e5223ae4f53ffac7e349b
tree29bbde1b778e3e37d448e69628b2fb9f82830943
parent70e3404e7062f822522f99ec2df94d6775993393
- Use correct offsets into the keys set array. As the elements of this
  zero-length array are dynamically sized at run-time based on the use
  of hints, compilers can't be expected to figure out these offsets on
  their own. [1]
- Fix incorrect comparison in cmp_nans(). [2]

PR: 204571 [1], 202301 [2]
Submitted by: David Binderman [2]
MFC after: 3 days
usr.bin/sort/coll.c
usr.bin/sort/coll.h
usr.bin/sort/radixsort.c