From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D6AC81580E0 for ; Sun, 01 Jun 2025 21:48:05 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C2139343123 for ; Sun, 01 Jun 2025 21:48:05 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id B1E611104AE; Sun, 01 Jun 2025 21:47:45 +0000 (UTC) Received: from smtp.gentoo.org (mail.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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id A741A1104AE for ; Sun, 01 Jun 2025 21:47:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 610953430A5 for ; Sun, 01 Jun 2025 21:47:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1251628F0 for ; Sun, 01 Jun 2025 21:47:43 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1748814123.154c7dc8889e5d7074057e6bf1f9a53d868fc3a4.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/isolated-functions.sh X-VCS-Directories: bin/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 154c7dc8889e5d7074057e6bf1f9a53d868fc3a4 X-VCS-Branch: master Date: Sun, 01 Jun 2025 21:47:43 +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: 18aafa37-fc02-4307-a637-b8c86d38d551 X-Archives-Hash: d382b9c3d2867cf0a7c95cd443c7c032 commit: 154c7dc8889e5d7074057e6bf1f9a53d868fc3a4 Author: Kerin Millar plushkava net> AuthorDate: Sun Jun 1 02:55:21 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jun 1 21:42:03 2025 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=154c7dc8 isolated-functions.sh: drop the ___is_indexed_array_var() function For it is no longer used. Signed-off-by: Kerin Millar plushkava.net> Signed-off-by: Sam James gentoo.org> bin/isolated-functions.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index a1ff58816e..e763156656 100644 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -636,16 +636,6 @@ __eqatag() { ) >> "${T}"/qa.log } -if [[ BASH_VERSINFO -gt 4 || (BASH_VERSINFO -eq 4 && BASH_VERSINFO[1] -ge 4) ]] ; then - ___is_indexed_array_var() { - [[ ${!1@a} == *a* ]] - } -else - ___is_indexed_array_var() { - [[ $(declare -p "$1" 2>/dev/null) == 'declare -a'* ]] - } -fi - # debug-print() gets called from many places with verbose status information useful # for tracking down problems. The output is in ${T}/eclass-debug.log. # You can set ECLASS_DEBUG_OUTPUT to redirect the output somewhere else as well.