Messages in this thread | | | From | Andreas Gruenbacher <> | Subject | Re: [PATCH 1/8] lib/sort: Heapsort implementation of sort() | Date | Sun, 27 Feb 2005 14:17:51 +0100 |
| |
Matt,
On Monday 31 January 2005 08:34, Matt Mackall wrote: > This patch adds a generic array sorting library routine. This is meant > to replace qsort, which has two problem areas for kernel use.
the sort function is broken. When sorting the integer array {1, 2, 3, 4, 5}, I'm getting {2, 3, 4, 5, 1} as a result. Can you please have a look?
Thanks, -- Andreas Gruenbacher <agruen@suse.de> SUSE Labs, SUSE LINUX PRODUCTS GMBH
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |