From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8D291158087 for ; Wed, 29 Dec 2021 12:20:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F4892BC00A; Wed, 29 Dec 2021 12:20:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 91BFE2BC00A for ; Wed, 29 Dec 2021 12:20:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3093133D3C2 for ; Wed, 29 Dec 2021 12:20:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 03E54253 for ; Wed, 29 Dec 2021 12:20:03 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1640780356.28489559193b543926ce93b95eb5f6f91b5a5574.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: qmerge.c X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 28489559193b543926ce93b95eb5f6f91b5a5574 X-VCS-Branch: master Date: Wed, 29 Dec 2021 12:20:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f5319955-8032-4b9a-b426-e2fd467b0b7b X-Archives-Hash: 75af10eba5cb458e125afc9f54c31293 commit: 28489559193b543926ce93b95eb5f6f91b5a5574 Author: Fabian Groffen gentoo org> AuthorDate: Wed Dec 29 12:19:16 2021 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Wed Dec 29 12:19:16 2021 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=28489559 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 gentoo.org> qmerge.c | 1 - 1 file changed, 1 deletion(-) diff --git a/qmerge.c b/qmerge.c index 75f03c0..3f82d61 100644 --- a/qmerge.c +++ b/qmerge.c @@ -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,