From owner-dev-commits-src-all@freebsd.org Sun Apr 25 06:41:19 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5A81F5F6EFB for ; Sun, 25 Apr 2021 06:41:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FSdhv25hJz4mDt; Sun, 25 Apr 2021 06:41:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 312317169; Sun, 25 Apr 2021 06:41:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13P6fJNb069649; Sun, 25 Apr 2021 06:41:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13P6fJP1069648; Sun, 25 Apr 2021 06:41:19 GMT (envelope-from git) Date: Sun, 25 Apr 2021 06:41:19 GMT Message-Id: <202104250641.13P6fJP1069648@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org From: =?utf-8?B?U3RlZmFuIEXDn2Vy?= Subject: git: bd136720030e - vendor/bc - Vendor import of Gavin D. Howards bc version 4.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: se X-Git-Repository: src X-Git-Refname: refs/heads/vendor/bc X-Git-Reftype: branch X-Git-Commit: bd136720030ebb0b31e6d5a2236b9d0ddac71b94 Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2021 06:41:19 -0000 The branch vendor/bc has been updated by se: URL: https://cgit.FreeBSD.org/src/commit/?id=bd136720030ebb0b31e6d5a2236b9d0ddac71b94 commit bd136720030ebb0b31e6d5a2236b9d0ddac71b94 Author: Stefan Eßer AuthorDate: 2021-04-25 06:36:50 +0000 Commit: Stefan Eßer CommitDate: 2021-04-25 06:36:50 +0000 Vendor import of Gavin D. Howards bc version 4.0.1 --- .gitattributes | 3 +++ .gitignore | 4 ++++ NEWS.md | 5 +++++ README.md | 4 ++++ include/version.h | 2 +- src/program.c | 1 + 6 files changed, 18 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000000..22d6e60bce68 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +*.vcxproj eol=crlf +*.vcxproj.filters eol=crlf +*.sln eol= crlf diff --git a/.gitignore b/.gitignore index 5c2bbae866c0..b131d5813764 100644 --- a/.gitignore +++ b/.gitignore @@ -68,3 +68,7 @@ core.* cscope*.out tags + +*.vcxproj.user +Debug/* +Release/* diff --git a/NEWS.md b/NEWS.md index 011cb9138912..c66e7b164c8a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,10 @@ # News +## 4.0.1 + +This is a production release that only adds one thing: flushing output when it +is printed with a print statement. + ## 4.0.0 This is a production release with many fixes, a new command-line option, and a diff --git a/README.md b/README.md index 852c8956a73d..f0dcecf15bde 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,10 @@ functionality is unnecessary. For more information, see the `dc`'s full manual. +This `bc` also provides `bc`'s math as a library with C bindings, called `bcl`. + +For more information, see the full manual for `bcl`. + This `bc` is Free and Open Source Software (FOSS). It is offered under the BSD 2-clause License. Full license text may be found in the [`LICENSE.md`][4] file. diff --git a/include/version.h b/include/version.h index 7f33df62312e..ab4823bd7c2a 100644 --- a/include/version.h +++ b/include/version.h @@ -36,6 +36,6 @@ #ifndef BC_VERSION_H #define BC_VERSION_H -#define VERSION 4.0.0 +#define VERSION 4.0.1 #endif // BC_VERSION_H diff --git a/src/program.c b/src/program.c index 82735083bd03..c1e61f729d2a 100644 --- a/src/program.c +++ b/src/program.c @@ -2034,6 +2034,7 @@ void bc_program_exec(BcProgram *p) { case BC_INST_PRINT_STR: { bc_program_print(p, inst, 0); + bc_file_flush(&vm.fout, bc_flush_save); break; }