don't compare elements with themselves during qsort.
authorRich Felker <dalias@aerifal.cx>
Thu, 17 Feb 2011 05:03:24 +0000 (00:03 -0500)
committerRich Felker <dalias@aerifal.cx>
Thu, 17 Feb 2011 05:03:24 +0000 (00:03 -0500)
commitb24bc15f5c3828184f123698b4b545fef4edac99
treee89003e46ae8bfd2c5583edfde5761c6394a6042
parent798a12ecc4ec4a7780beaf2f5fb86ffbc9738755
don't compare elements with themselves during qsort.

this is actually a workaround for a bug in gcc, whereby it asserts
inequality of the keys being compared...
src/stdlib/qsort.c