qsort: handle the case of zero entries
authorH. Peter Anvin <hpa@zytor.com>
Sat, 6 Mar 2010 22:49:10 +0000 (14:49 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 6 Mar 2010 22:49:10 +0000 (14:49 -0800)
commit600217eb7036a64630a3edd6b093d97b883a9b5c
treed09196a208ed376b18651f97e97e395fb60b48f6
parente375515ddc712f1f69ee21337db2a3267caa5d49
qsort: handle the case of zero entries

Avoid bugs when the qsorted array is empty.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/lib/qsort.c