diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-01-01 12:11:49 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-01-01 12:11:49 +0200 |
commit | b01d144c6922384921f808b190430ad7aa114010 (patch) | |
tree | eb50d54cd075ee7ae0bd16617924afe80708e626 /src/info.c | |
parent | aae0a563edc21030c08fd47e30e78eda22183027 (diff) | |
download | apk-tools-b01d144c6922384921f808b190430ad7aa114010.tar.gz apk-tools-b01d144c6922384921f808b190430ad7aa114010.tar.bz2 apk-tools-b01d144c6922384921f808b190430ad7aa114010.tar.xz apk-tools-b01d144c6922384921f808b190430ad7aa114010.zip |
various: fix breakage from converting dependency versions to atoms
The version now needs to be initialized atom always, since it's
dereferenced in various places.
Diffstat (limited to 'src/info.c')
-rw-r--r-- | src/info.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -115,6 +115,7 @@ static int info_who_owns(struct info_ctx *ctx, struct apk_database *db, if (apk_verbosity < 1) { dep = (struct apk_dependency) { .name = pkg->name, + .version = apk_blob_atomize(APK_BLOB_NULL), .result_mask = APK_DEPMASK_REQUIRE, }; apk_deps_add(&deps, &dep); |