git: 8c39e25220bb - main - contrib/bc: update to version 4.0.2

Stefan Eßer se at FreeBSD.org
Wed May 12 05:52:49 UTC 2021


The branch main has been updated by se:

URL: https://cgit.FreeBSD.org/src/commit/?id=8c39e25220bb88cd027d0c3b0fe86e52f6abd150

commit 8c39e25220bb88cd027d0c3b0fe86e52f6abd150
Merge: e681dd3e2c12 2858419a0ee2
Author:     Stefan Eßer <se at FreeBSD.org>
AuthorDate: 2021-05-12 05:49:19 +0000
Commit:     Stefan Eßer <se at FreeBSD.org>
CommitDate: 2021-05-12 05:50:59 +0000

    contrib/bc: update to version 4.0.2
    
    Merge commit '2858419a0ee2b8f5827de72c00618bcd69ebc5fc'
    
    This update fixes the initialization of "scale" to 20 if started with
    -l and the initial statement leads to an error (e.g. contains a syntax
    error). Scale was initialized to 0 in that case.
    
    Another change is the support of job control in interactive mode with
    line editing enabled. The control characters have been interpreted as
    editing commands only, prior to this version.
    
    MFC after:      3 days

 contrib/bc/NEWS.md           | 9 +++++++++
 contrib/bc/include/history.h | 1 +
 contrib/bc/include/version.h | 2 +-
 contrib/bc/src/history.c     | 5 ++++-
 contrib/bc/src/vm.c          | 2 ++
 contrib/bc/tests/other.sh    | 5 ++---
 6 files changed, 19 insertions(+), 5 deletions(-)



More information about the dev-commits-src-main mailing list