]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r310712
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 10 May 2017 20:29:01 +0000 (20:29 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 10 May 2017 20:29:01 +0000 (20:29 +0000)
commit43f5d64f124fa2b00fdf5648b8309c261eac6ef7
treea83af873fb09a4375ca02fd651e6d170445baba6
parent22bf51c97e757cdd61dbc7806653e574dc617421
MFC: r310712

- 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]

git-svn-id: svn://svn.freebsd.org/base/stable/10@318152 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/sort/coll.c
usr.bin/sort/coll.h
usr.bin/sort/radixsort.c