From nobody Tue Nov 29 11:17:00 2022 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NM0D56hT4z4jXvD for ; Tue, 29 Nov 2022 11:17:09 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from anny.lostinspace.de (anny.lostinspace.de [IPv6:2001:608:a02::33]) (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) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4NM0D548vsz3xv5; Tue, 29 Nov 2022 11:17:09 +0000 (UTC) (envelope-from idefix@fechner.net) Authentication-Results: mx1.freebsd.org; none Received: from server2.idefix.lan (beta.fechner.net [89.58.45.13]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: idefix@fechner.net) by anny.lostinspace.de (Postfix) with ESMTPSA id 7E29A5EFDA; Tue, 29 Nov 2022 12:17:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fechner.net; s=default; t=1669720624; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7rZXULuJiiQFKBptFaVaswZEcVIb8tp0zeV8WIh6P5c=; b=VWylTy7bBI+QrcyT8BfCQtIkigP/Nz7DHMqXtKxGYO0MUtwCGBK647DhVp6f2FB6I8YdLo 2q4ySB2TP4tPFPZD4LnkVjdvjtuHfCejWh/GTQUnM92OWbo99mp4+r+VDGFjc85h72F/pd DUkSrID4p3YqXfEAT06pBey/Wq0oJx0= Received: from [192.168.0.103] (unknown [93.182.109.177]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by server2.idefix.lan (Postfix) with ESMTPSA id E48562C5AAB; Tue, 29 Nov 2022 12:17:02 +0100 (CET) Message-ID: <1b8338e4-6100-0d5d-5267-713e45e4ca43@fechner.net> Date: Tue, 29 Nov 2022 12:17:00 +0100 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: Question to EXTRACT_ONLY Content-Language: en-US To: Tatsuki Makino , Gleb Popov Cc: ports@freebsd.org References: <667de09b-c23f-42e4-00ba-c52e4266c23a@fechner.net> From: Matthias Fechner In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Server: anny.lostinspace.de X-Rspamd-Action: no action X-Rspamd-Queue-Id: 4NM0D548vsz3xv5 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:5539, ipnet:2001:608::/32, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Thanks, On 29.11.22 11:22, Tatsuki Makino wrote: > Hello. > > Gleb Popov wrote on 2022/11/29 15:47: >> On Tue, Nov 29, 2022 at 12:14 AM Matthias Fechner wrote: >>> But what does the last `:` at the end of this string? >> This one is a correct interpretation. >> >> As for the first one, I'm also unsure about the last ":" Maybe it is a >> part of the :N argument? >> > I found something about this in function ApplyModifiers in /usr/src/contrib/bmake/var.c. > I can't explain it well, but it seems to me that : is treated merely as a delimiter. > It does not give an error for the last character being : . > If there is a specification that the last character should not be a : , then this is a bug :) > I am not sure about that :) I changed it now this way, this works as expected: https://reviews.freebsd.org/D37525 Thanks Matthias