diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-07-11 09:59:49 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-08-01 08:53:10 -0500 |
commit | 8fe383860e4406d0becf34d2410155e8c93dd494 (patch) | |
tree | 63ebf6c468017e8dad9b7dab4174c395f1437575 /lib/libalpm/alpm.c | |
parent | e41ca0f2f6e41cc61a10860d3a22c4ca490a34a8 (diff) |
lib/be_package: use qsort instead of our own msort
On the assumption that these arrays are already mostly sorted, use the
standard quicksort method to sort the files arrays. The files_msort
function name is tweaked to give it a more general name to reflect this
change.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.c')
0 files changed, 0 insertions, 0 deletions