From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 4u1sI6ZZ9mh0WQAAWB0awg (envelope-from ) for ; Mon, 20 Oct 2025 11:47:50 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=fqximP4b; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 7DE1D1E0BC; Mon, 20 Oct 2025 11:47:50 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id C27A71E047 for ; Mon, 20 Oct 2025 11:47:49 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6B7683858402 for ; Mon, 20 Oct 2025 15:47:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6B7683858402 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=fqximP4b Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by sourceware.org (Postfix) with ESMTPS id 096033858401 for ; Mon, 20 Oct 2025 15:46:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 096033858401 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 096033858401 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::432 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1760975212; cv=none; b=DkTfrBcQr0lusulx1MLHdfQ6VjU/SWNi7Eo3hL5r7pE7Ds2XRq9Oim0wpozfJhiTUWFd10AGg9kcqRp9tAynicQuBXOxAu2B8ie2h0at3haB/SGOXxRJRMPfoJckmb+CgNyGKdDKsQUpfPUgbzzvmywQZk3JbbcIoLgN+WyLr18= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1760975212; c=relaxed/simple; bh=eM52HedvgHOaOBTXXD+LSEHVMI3mqGk5hvve57RrDxQ=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=TShhUJyD6DmXEwRHzbbQxjpUaZDNxE/OFK6jHNu7BatBBv3RyxVAX5JDRo5gXbExbGSXBzX20LJAU1O66nw3DawiiPJJNEKyzkBk1Uvzf9kmOK4ZQaoTVR0sBuBvrcepujl9c1fInvnEZeuXhGVO89d7QIdWmrtV4SS1/QmARtk= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 096033858401 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-427084a641aso2033673f8f.1 for ; Mon, 20 Oct 2025 08:46:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1760975210; x=1761580010; darn=sourceware.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Cy3unIyC2RE+7jU+lGGweZDitODur/PKwZgDRNdFyos=; b=fqximP4bWBtq2fuFQhtKfjRCswMPvuO2J69NvUC3h/XZQpOM/6OKzo7RMnasrL44qV NSP+LCqvTf5hAUNUq1KhgtgVNsXQG7Rw5G7OaY8AKXuI+Ozx2lbdIcv79uKJPDSakpy/ gyVeflxa6bkwCFWEso1Z1xjdTchQgn7wXiHJqawwcjlS//7Nx2uDDpa4W3a7Fr5UG+mD 3+LH+SN/kNH0bO3zxyR0aJeFipiVit77hXv17LsvvceN62TgvWMXya/Gnb5BqIt39pHL fYw9UQGckBCSrXkEuEKbnwRaGepJyg4Sd7UAB5ucTIVvpW8p0yFqoe1HLMIY/X4CZy0+ IA0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760975210; x=1761580010; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Cy3unIyC2RE+7jU+lGGweZDitODur/PKwZgDRNdFyos=; b=kd1B3lIKlynIEx8F89CG44jhBybMNvawCflEOhrS8GqxOcivu+LMTMIr0Wahx1V+eH A/GbnnvwTLvXhub+1E2rPbarv1d91uOfSg8/dyljuONS+d9FigQNgM08LToS9cgrPktT S9mE7RyB7eFqyqlRUlGDYqN1PVrbpDvnjPmNS1f+kHp1qLiKZntQhVJD2J2tECtVRRkn 7Xx2H4iAQWBqiXj51f9jz+2EfSMX6v7nycy/bTduoOh9EaXejtxBoM9JA8tCNOk17zkm tinN0OQWHZTXWMEX6Qut5cLyQjL17rbU/lXVwiV1XUNHa0D84wruDqQzRRO+YpsOSZmU Wjzw== X-Gm-Message-State: AOJu0YzKmuXNZtMLftFUHkbnI5ZquqtHZJVyKO8AA89TctOxjNuakg3q 8zCWpJ7E1KquznszipB42GyroRqvK/J8GeXRmMyj65+q4LfNAzmIN+M+RS3KfemdvA6AT+C5W2W AJGuBiw== X-Gm-Gg: ASbGncsVpar46BHvN6bIwjFfk8L6s4nY7rQCcLSnFduGUYy/Vy125vllWmKyFmCRbJj Q7MDCjEJS3PeADlhmDahFN7iGYLPfx1CJbl2BOD5rIkOO/EOrA0WoL+INBdjORIrFfwxKcoQ0NR FJyDjdetCg9t0ixhh9zJ0ydRgb5DPXiUENV5CO3jAK8TJsbLeDG3c+YqyU1yC3fPHFOaYt/4JiS dja68gTVJADVGBm+Y1LGJ/IY27U2CJNbXIHLBBcxTwYRzXWMc0CHnFqrZ7anpnyRJmjOexch+8+ fvea1fc5J3miI2K2dhQcO8kQcoe4JpHRq1AwFq8Am1iQR4cmshRK1DYrKoqK5CSVLhz1/QUlNnw /JZR6+7QIKe1+bDHzpoQk1kzumW1v/xBpqsZZg5WcCf2KL/ButfFhL7dAhICzkSqaQt2VRVNYfS wn4yXaWoEiKPcqVZmLxnGtsKPJ X-Google-Smtp-Source: AGHT+IFi74MPlsP93QCd1eVnpVCtXq5ByUJh3uQMVVXpdUsmdtvWsq2y0lieu8SaGpwDVbRm2kvQxg== X-Received: by 2002:a05:6000:40cd:b0:428:3f7c:bcf3 with SMTP id ffacd0b85a97d-4283f7cbee3mr4392865f8f.49.1760975210329; Mon, 20 Oct 2025 08:46:50 -0700 (PDT) Received: from legouguec-Precision-7550 ([2.57.72.67]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-427ea5a0f7dsm15708378f8f.4.2025.10.20.08.46.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Oct 2025 08:46:50 -0700 (PDT) From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] Drop bashism from configure script In-Reply-To: <87ecqxpp1u.fsf@tromey.com> References: <20251014164458.2000229-3-matthieu.longo@arm.com> <20251020152310.1016355-1-legouguec@adacore.com> <87ecqxpp1u.fsf@tromey.com> Date: Mon, 20 Oct 2025 17:46:49 +0200 Message-ID: <87y0p5fudy.fsf@adacore.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Tom Tromey writes: >>>>>> "K=C3=A9vin" =3D=3D K=C3=A9vin Le Gouguec wr= ites: > > K=C3=A9vin> Results of evaluating 'test "no" =3D=3D yes' in non-Bash shel= ls range from > K=C3=A9vin> unfortunate (dash: "test: no: unexpected operator") to comica= lly wrong > K=C3=A9vin> (AdaCore's gsh: returns 0). > > This is ok. I'd even say it's obvious. IIRC this particular problem > has come up before, it's an easy mistake to make. ACK, next time then I might go a head & push directly, then post here FTR. > Approved-By: Tom Tromey > > thanks, Thank you! > Tom