index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Xavier Chantry <shiningxc@gmail.com> | 2009-12-05 01:50:09 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-03-14 19:25:48 -0500 |
commit | 1aa1d00248ac89fb02e762b96c58559a04679b2e (patch) | |
tree | 0326bf37268fa6167f4b17e38b58bda598a82da4 /lib/libalpm/be_files.c | |
parent | be2f43191d0d0cdf02d72ac72a013697b0f7e879 (diff) |
-rw-r--r-- | lib/libalpm/be_files.c | 2 |
diff --git a/lib/libalpm/be_files.c b/lib/libalpm/be_files.c index bfcea188..4ddb1369 100644 --- a/lib/libalpm/be_files.c +++ b/lib/libalpm/be_files.c @@ -140,8 +140,8 @@ static int dirlist_from_fs(const char *syncdbpath, alpm_list_t **dirlist) entry[len+1] = '\0'; *dirlist = alpm_list_add(*dirlist, entry); } + closedir(dbdir); } - closedir(dbdir); *dirlist = alpm_list_msort(*dirlist, alpm_list_count(*dirlist), _alpm_str_cmp); return(0); |