diff options
author | 2021-12-29 13:19:16 +0100 | |
---|---|---|
committer | 2021-12-29 13:19:16 +0100 | |
commit | 28489559193b543926ce93b95eb5f6f91b5a5574 (patch) | |
tree | 921acad08aad33cd5f81ed3cbb61139892dd21e9 | |
parent | libq/tree: avoid nasty realloc magic on tree_pkg_meta (diff) | |
download | portage-utils-28489559193b543926ce93b95eb5f6f91b5a5574.tar.gz portage-utils-28489559193b543926ce93b95eb5f6f91b5a5574.tar.bz2 portage-utils-28489559193b543926ce93b95eb5f6f91b5a5574.zip |
qmerge: drop ugly tree_pkg_meta_get workaround
tree_pkg_meta_get() returned pointers now won't change for as long as
the object exists
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rw-r--r-- | qmerge.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1528,7 +1528,6 @@ pkg_unmerge(tree_pkg_ctx *pkg_ctx, depend_atom *rpkg, set *keep, if (!pretend && rpkg == NULL) { buf = tree_pkg_meta_get(pkg_ctx, EAPI); phases = tree_pkg_meta_get(pkg_ctx, DEFINED_PHASES); - buf = tree_pkg_meta_get(pkg_ctx, EAPI); /* when phases caused ralloc */ if (phases != NULL) { mkdirat(pkg_ctx->fd, "temp", 0755); pkg_run_func_at(pkg_ctx->fd, ".", phases, PKG_PRERM, |