Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Dec 2020 11:38:46 +0000 (UTC)
From:      =?UTF-8?Q?Stefan_E=c3=9fer?= <se@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org
Subject:   svn commit: r368385 - in vendor/bc/dist: . gen
Message-ID:  <202012061138.0B6BckuF013398@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012061138.0B6BckuF013398>