commit | 926d1bc9d3e20d3aeae1b948a643ef9eb6bdbe86 | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@zytor.com> | Sun Jan 21 19:39:55 2007 -0800 |
committer | H. Peter Anvin <hpa@zytor.com> | Sun Jan 21 19:39:55 2007 -0800 |
tree | b738e6011228c19187ca8ae91943c15543cf516d | |
parent | 1a58c9fc954f853aec75ad3fef43bf7e5c9e81f8 [diff] |
[klibc] qsort(): if nmemb == 0, just return qsort() would go into a loop if nmemb == 0. Test for this case and exit. Signed-off-by: H. Peter Anvin <hpa@zytor.com>