Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/package.c2
1 files changed, 1 insertions, 1 deletions
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*