From nobody Sat Sep 14 09:10:44 2024 X-Original-To: dev-commits-src-all@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 4X5QR71FBdz5WMZq; Sat, 14 Sep 2024 09:11:47 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [94.130.200.20]) (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-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail.bsd4all.net", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X5QR62C3hz4tBJ; Sat, 14 Sep 2024 09:11:46 +0000 (UTC) (envelope-from herbert@gojira.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gojira.at header.s=mail202005 header.b=lkW53K64; dmarc=none; spf=pass (mx1.freebsd.org: domain of herbert@gojira.at designates 94.130.200.20 as permitted sender) smtp.mailfrom=herbert@gojira.at Date: Sat, 14 Sep 2024 11:10:44 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1726305098; bh=XJLdr6dKN73REbOh+uXZuGuM1KnmXB9IPhp1v8fY2lw=; h=Date:Message-ID:From:To:Cc:Subject:MIME-Version:Content-Type; b=lkW53K647navRu6aY8C5gj3cV7clYAXwT0Q+v/8rrsDAY1vTWrGh4S6JdEjcij+Fk jLEBVhADuIK5GmL/Sxnp9zAb4TWoHZ5TzEtUhmjLucRql7xMWGUzztzAQ53pD1XFqz K/zcBUz5i+o62f1FireAZDJQ4Zu/I5/x7lF6/7Alo/63ZJjDgJPy5Rk7ggX6p+Bc22 9tv0Zmm/G22wEMIr272JOMdh52+dQQzJCYok2uM0EPPFg0dmZcC9/kOh4kITqr+Fkk TMDCBeNYy67AEH2vJLikCtAwqLyHCNt+qstM5W4LZh+nuJGEWpu6T+X+usJqXreqiw QTSnPxl10b0/A== Message-ID: <87o74qa9d7.wl-herbert@gojira.at> From: "Herbert J. Skuhra" To: Cy Schubert Cc: Stefan =?ISO-8859-1?Q?E=DFer?= , src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 12e0d316644a - main - vendor/bc: upgrade to version 7.0.0 In-Reply-To: <20240905174416.247B0293@slippy.cwsent.com> References: <202408261628.47QGSD1E072637@gitrepo.freebsd.org> <20240905174416.247B0293@slippy.cwsent.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/31.0 Mule/6.0 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; R_SPF_ALLOW(-0.20)[+ip4:94.130.200.20]; R_DKIM_ALLOW(-0.20)[gojira.at:s=mail202005]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:94.130.0.0/16, country:DE]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; DMARC_NA(0.00)[gojira.at]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-src-all@FreeBSD.org,dev-commits-src-main@FreeBSD.org]; DKIM_TRACE(0.00)[gojira.at:+] X-Rspamd-Queue-Id: 4X5QR62C3hz4tBJ On Thu, 05 Sep 2024 19:44:16 +0200, Cy Schubert wrote: >=20 > In message <202408261628.47QGSD1E072637@gitrepo.freebsd.org>, Stefan=20 > =3D?utf-8?Q? > E=3DC3=3D9Fer?=3D writes: > > The branch main has been updated by se: > > > > URL: https://cgit.FreeBSD.org/src/commit/?id=3D12e0d316644a4f80f5f1f78c= f07bd93d > > ef43b1ca > > > > commit 12e0d316644a4f80f5f1f78cf07bd93def43b1ca > > Author: Stefan E=DFer > > AuthorDate: 2024-08-23 16:45:58 +0000 > > Commit: Stefan E=DFer > > CommitDate: 2024-08-26 16:27:29 +0000 > > > > vendor/bc: upgrade to version 7.0.0 > > =20 > > This is a production release to fix three bugs, none of which > > affects well formed scripts on FreeBSD: > > =20 > > The first bug is that bc/dc will exit on macOS when the terminal > > is resized. > > =20 > > The second bug is that an array, which should only be a function > > parameter, was accepted as part of larger expressions. > > =20 > > The third bug is that the value stack for dc was cleared on any err= or. > > However, this is not how other dc behave. To bring dc more in line > > with other implementations, this behavior was changed. This change = is > > why this version is a new major version. > > =20 > > (cherry picked from commit 54d20d67e2af28d948ce2df13feb039fa10900fc) > > =20 > > MFC after: 3 days >=20 > This commit introduced a regression. Prior to this one could exit bc usin= g=20 > the EOF character defined by stty(1), default ^D. Now one needs to enter = > the word quit instead of ^D. Reverting=20 https://git.gavinhoward.com/gavin/bc/commit/56bb18255a24b60f785560ab882447d= 9c959bd93 seems to resolve the issue. diff --git a/contrib/bc/src/history.c b/contrib/bc/src/history.c index 6ae9785d9a79..71afe62db879 100644 --- a/contrib/bc/src/history.c +++ b/contrib/bc/src/history.c @@ -264,7 +264,7 @@ bc_history_line(BcHistory* h, BcVec* vec, const char* p= rompt) errno =3D EINTR; =20 // Get the line. - while (line =3D=3D NULL && (len =3D=3D -1 || errno =3D=3D EINTR)) + while (line =3D=3D NULL && len =3D=3D -1 && errno =3D=3D EINTR) { line =3D el_gets(h->el, &len); bc_history_use_prompt =3D false; -- Herbert