index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-09-27 20:24:04 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-27 20:24:04 -0500 |
commit | ea3c47825ea6a8cfd0e0d63fd7da0120fcacabc8 (patch) | |
tree | 00964c595ed8bc97e526af6eab4f965b2e16903a | |
parent | 69962184bb3cc313f744de6553ef31b4eb256a01 (diff) |
-rw-r--r-- | lib/libalpm/package.c | 2 |
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index 11bf01a8..a5ff238f 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -641,7 +641,7 @@ int _alpm_pkg_cmp(const void *p1, const void *p2) { const alpm_pkg_t *pkg1 = p1; const alpm_pkg_t *pkg2 = p2; - return strcoll(pkg1->name, pkg2->name); + return strcmp(pkg1->name, pkg2->name); } /* Test for existence of a package in a alpm_list_t* |