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 13726158086 for ; Sun, 26 Dec 2021 09:50:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 137492BC038; Sun, 26 Dec 2021 09:50:32 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0565B2BC018 for ; Sun, 26 Dec 2021 09:50:30 +0000 (UTC) Message-ID: Subject: Re: [gentoo-dev] [PATCH 1/5] gnome2-utils.eclass: phase out emktemp From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Date: Sun, 26 Dec 2021 10:50:26 +0100 In-Reply-To: References: <20211209132325.297913-1-marecki@gentoo.org> <20211209132325.297913-2-marecki@gentoo.org> <1f731fd5d6309bf1ebeb8e08b73ca903a1bc47dc.camel@gentoo.org> <136a9c8c1a600ca22f4facdb8de8feb3ba0bb818.camel@gentoo.org> Organization: Gentoo Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.2 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 2854765c-89c0-4ed6-96c4-e395ca0056a3 X-Archives-Hash: 57670cdc3ec9794a07eae2afa27b7118 On Sun, 2021-12-26 at 09:44 +0000, Marek Szuba wrote: > > On 13 December 2021 17:24:18 UTC, Mart Raudsepp wrote: > > > Actually I kind of preferred a static name over straight mktemp, > > because emktemp supported other cases than a pure mktemp usage does. > > But I don't know if it could ever clash things in some weird > > situations. > > That last part is the message I tried to convey in my e-mail, sorry if I wasn't clear enough. > > Anyway, could anyone with more Postage/PMS experience weigh in on this? If it is indeed safe then the eclass could be modified further, e.g. to use static names with EAPI-8+ but stick with mktemp for older EAPIs just to be safe. I suppose it's not specified strictly but T should be safe for all sane uses. If it weren't, we'd already be in deep trouble and gnome2-utils would be the least of our concerns. That said, making this EAPI-conditional is just an unnecessary complexity. -- Best regards, Michał Górny