summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/be_local.c
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-07-11 15:59:49 +0200
committerDan McGee <dan@archlinux.org>2012-08-01 15:53:10 +0200
commit8fe383860e4406d0becf34d2410155e8c93dd494 (patch)
tree63ebf6c468017e8dad9b7dab4174c395f1437575 /lib/libalpm/be_local.c
parente41ca0f2f6e41cc61a10860d3a22c4ca490a34a8 (diff)
downloadpacman-8fe383860e4406d0becf34d2410155e8c93dd494.tar.gz
pacman-8fe383860e4406d0becf34d2410155e8c93dd494.tar.xz
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/be_local.c')
0 files changed, 0 insertions, 0 deletions