Re: git: 12e0d316644a - main - vendor/bc: upgrade to version 7.0.0
Date: Thu, 05 Sep 2024 17:44:16 UTC
In message <202408261628.47QGSD1E072637@gitrepo.freebsd.org>, Stefan =?utf-8?Q? E=C3=9Fer?= writes: > The branch main has been updated by se: > > URL: https://cgit.FreeBSD.org/src/commit/?id=12e0d316644a4f80f5f1f78cf07bd93d > ef43b1ca > > commit 12e0d316644a4f80f5f1f78cf07bd93def43b1ca > Author: Stefan Eßer <se@FreeBSD.org> > AuthorDate: 2024-08-23 16:45:58 +0000 > Commit: Stefan Eßer <se@FreeBSD.org> > CommitDate: 2024-08-26 16:27:29 +0000 > > vendor/bc: upgrade to version 7.0.0 > > This is a production release to fix three bugs, none of which > affects well formed scripts on FreeBSD: > > The first bug is that bc/dc will exit on macOS when the terminal > is resized. > > The second bug is that an array, which should only be a function > parameter, was accepted as part of larger expressions. > > The third bug is that the value stack for dc was cleared on any error. > 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. > > (cherry picked from commit 54d20d67e2af28d948ce2df13feb039fa10900fc) > > MFC after: 3 days This commit introduced a regression. Prior to this one could exit bc using the EOF character defined by stty(1), default ^D. Now one needs to enter the word quit instead of ^D. -- Cheers, Cy Schubert <Cy.Schubert@cschubert.com> FreeBSD UNIX: <cy@FreeBSD.org> Web: https://FreeBSD.org NTP: <cy@nwtime.org> Web: https://nwtime.org e^(i*pi)+1=0