index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2016-12-09 11:14:06 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2017-01-04 13:59:15 +1000 |
commit | 6444ccbaf0c2ff566217eb32e32397868088812f (patch) | |
tree | 9405b1b579cab92b67a45a2399d6746cd948e8e8 /lib/libalpm/be_package.c | |
parent | 585bd89803a37380f51d625115b58db4012f4df3 (diff) |
-rw-r--r-- | lib/libalpm/be_package.c | 3 |
diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c index 319ccf8b..6859118d 100644 --- a/lib/libalpm/be_package.c +++ b/lib/libalpm/be_package.c @@ -676,8 +676,7 @@ alpm_pkg_t *_alpm_pkg_load_internal(alpm_handle_t *handle, _alpm_log(handle, ALPM_LOG_DEBUG, "sorting package filelist for %s\n", pkgfile); - qsort(newpkg->files.files, newpkg->files.count, - sizeof(alpm_file_t), _alpm_files_cmp); + _alpm_filelist_sort(&newpkg->files); } newpkg->infolevel |= INFRQ_FILES; } |