From owner-svn-src-all@freebsd.org Sun Dec 6 11:38:47 2020 Return-Path: Delivered-To: svn-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 9636F47A592; Sun, 6 Dec 2020 11:38:47 +0000 (UTC) (envelope-from se@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cpkwl3jjXz3mbb; Sun, 6 Dec 2020 11:38:47 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6E1ED6DF0; Sun, 6 Dec 2020 11:38:47 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0B6Bclvf013402; Sun, 6 Dec 2020 11:38:47 GMT (envelope-from se@FreeBSD.org) Received: (from se@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0B6BckuF013398; Sun, 6 Dec 2020 11:38:46 GMT (envelope-from se@FreeBSD.org) Message-Id: <202012061138.0B6BckuF013398@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: se set sender to se@FreeBSD.org using -f From: =?UTF-8?Q?Stefan_E=c3=9fer?= Date: Sun, 6 Dec 2020 11:38:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r368385 - in vendor/bc/dist: . gen X-SVN-Group: vendor X-SVN-Commit-Author: se X-SVN-Commit-Paths: in vendor/bc/dist: . gen X-SVN-Commit-Revision: 368385 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2020 11:38:47 -0000 Author: se Date: Sun Dec 6 11:38:46 2020 New Revision: 368385 URL: https://svnweb.freebsd.org/changeset/base/368385 Log: Import version 3.2.3 Modified: vendor/bc/dist/Makefile.in vendor/bc/dist/NEWS.md vendor/bc/dist/configure.sh vendor/bc/dist/gen/strgen.sh Modified: vendor/bc/dist/Makefile.in ============================================================================== --- vendor/bc/dist/Makefile.in Sun Dec 6 10:58:55 2020 (r368384) +++ vendor/bc/dist/Makefile.in Sun Dec 6 11:38:46 2020 (r368385) @@ -29,7 +29,7 @@ # .POSIX: -VERSION = 3.2.0 +VERSION = 3.2.3 SRC = %%SRC%% OBJ = %%OBJ%% Modified: vendor/bc/dist/NEWS.md ============================================================================== --- vendor/bc/dist/NEWS.md Sun Dec 6 10:58:55 2020 (r368384) +++ vendor/bc/dist/NEWS.md Sun Dec 6 11:38:46 2020 (r368385) @@ -1,5 +1,24 @@ # News +## 3.2.3 + +This is a production release that fixes a bug in `gen/strgen.sh`. I recently +changed `gen/strgen.c`, but I did not change `gen/strgen.sh`. + +Users that do not use `gen/strgen.sh` do not need to upgrade. + +## 3.2.2 + +This is a production release that fixes a portability bug in `configure.sh`. The +bug was using the GNU `find` extension `-wholename`. + +## 3.2.1 + +This is a production release that has one fix for `bcl(3)`. It is technically +not a bug fix since the behavior is undefined, but the `BclNumber`s that +`bcl_divmod()` returns will be set to `BCL_ERROR_INVALID_NUM` if there is an +error. Previously, they were not set. + ## 3.2.0 This is a production release that has one bug fix and a major addition. Modified: vendor/bc/dist/configure.sh ============================================================================== --- vendor/bc/dist/configure.sh Sun Dec 6 10:58:55 2020 (r368384) +++ vendor/bc/dist/configure.sh Sun Dec 6 11:38:46 2020 (r368385) @@ -295,7 +295,7 @@ gen_file_list() { while [ "$#" -ge 1 ]; do a="$1" shift - args="$args ! -wholename src/${a}" + args="$args ! -path src/${a}" done else Modified: vendor/bc/dist/gen/strgen.sh ============================================================================== --- vendor/bc/dist/gen/strgen.sh Sun Dec 6 10:58:55 2020 (r368384) +++ vendor/bc/dist/gen/strgen.sh Sun Dec 6 11:38:46 2020 (r368385) @@ -32,18 +32,17 @@ export LC_CTYPE=C progname=${0##*/} -if [ $# -lt 4 ]; then - echo "usage: $progname input output name header [label [define [remove_tabs]]]" +if [ $# -lt 3 ]; then + echo "usage: $progname input output name [label [define [remove_tabs]]]" exit 1 fi input="$1" output="$2" name="$3" -header="$4" -label="$5" -define="$6" -remove_tabs="$7" +label="$4" +define="$5" +remove_tabs="$6" exec < "$input" exec > "$output"