index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2010-12-14 12:06:31 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-12-14 12:06:31 -0600 |
commit | c2a73ba989fffb59c1b8ac7edb265a996dfc184d (patch) | |
tree | eb1e648f4e011f4ef49a836c9d81f123dc347313 /lib/libalpm/util.c | |
parent | dbf59a6b141213b0afc962c71347eb83f8bcab73 (diff) |
-rw-r--r-- | lib/libalpm/util.c | 1 |
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c index 8e83bdac..1291ea0f 100644 --- a/lib/libalpm/util.c +++ b/lib/libalpm/util.c @@ -840,6 +840,7 @@ int _alpm_splitname(const char *target, pmpkg_t *pkg) FREE(pkg->name); } STRDUP(pkg->name, tmp, RET_ERR(PM_ERR_MEMORY, -1)); + pkg->name_hash = _alpm_hash_sdbm(pkg->name); free(tmp); return(0); |