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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E588F15807A for ; Mon, 09 Jun 2025 04:10:23 +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) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id CFDED343092 for ; Mon, 09 Jun 2025 04:10:23 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C1D0E1102BE; Mon, 09 Jun 2025 04:10:22 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 bobolink.gentoo.org (Postfix) with ESMTPS id B76711102BE for ; Mon, 09 Jun 2025 04:10:22 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6DF9D343091 for ; Mon, 09 Jun 2025 04:10:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AAE1882C for ; Mon, 09 Jun 2025 04:10:20 +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: <1749442152.b0acfa4042c9f24186d9dbca4213facf898ed72f.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ecompress X-VCS-Directories: bin/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b0acfa4042c9f24186d9dbca4213facf898ed72f X-VCS-Branch: master Date: Mon, 09 Jun 2025 04:10:20 +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: a6dddcf3-6297-45a9-ad72-4ab3d2d6617b X-Archives-Hash: 33af5173d0b80770e2a829efc929b2d3 commit: b0acfa4042c9f24186d9dbca4213facf898ed72f Author: Sam James gentoo org> AuthorDate: Mon Jun 9 04:09:12 2025 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jun 9 04:09:12 2025 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=b0acfa40 ecompress: mark the file for compression In e1350e68e944ea2b8972f1303635a29c7f77c05d, the flow of this block changes where we don't mark the file for compression anymore because we return early if the file doesn't have a suffix (so we don't need to do collision protection). Fixes: e1350e68e944ea2b8972f1303635a29c7f77c05d Signed-off-by: Sam James gentoo.org> bin/ecompress | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ecompress b/bin/ecompress index b63763ed30..345b625ab8 100755 --- a/bin/ecompress +++ b/bin/ecompress @@ -95,9 +95,9 @@ do_queue() { fi done printf '%s\n' "${path#"${D%/}"}" || ! break - - : >> "${path}.ecompress" || die fi + + : >> "${path}.ecompress" || die done \ < <(printf '%s\0' "${paths[@]}" | find0 "${find_args[@]}" ! -path $'*\n*' -print0) \ > "${T}"/.ecompress_had_precompressed || die