aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-12-06 11:38:46 +0000
committerStefan Eßer <se@FreeBSD.org>2020-12-06 11:38:46 +0000
commit253e722024bb7ee47360bbb12c6893e7c8d7b780 (patch)
tree5ed2361275d2579812e37b2d89ced59c1f468976
parent2e4772e82335c32e07d0605e5edefb0ac6ea857b (diff)
downloadsrc-vendor/bc.tar.gz
src-vendor/bc.zip
Import version 3.2.3vendor/bc/3.2.3vendor/bc
Notes
Notes: svn path=/vendor/bc/dist/; revision=368385 svn path=/vendor/bc/3.2.3/; revision=368386; tag=vendor/bc/3.2.3
-rw-r--r--Makefile.in2
-rw-r--r--NEWS.md19
-rwxr-xr-xconfigure.sh2
-rwxr-xr-xgen/strgen.sh11
4 files changed, 26 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in
index 4cc653b6a5cd..968494e4a8a0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -29,7 +29,7 @@
#
.POSIX:
-VERSION = 3.2.0
+VERSION = 3.2.3
SRC = %%SRC%%
OBJ = %%OBJ%%
diff --git a/NEWS.md b/NEWS.md
index d200187e23ce..db8448d48a86 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -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.
diff --git a/configure.sh b/configure.sh
index b41bee445594..b6caf3debba3 100755
--- a/configure.sh
+++ b/configure.sh
@@ -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
diff --git a/gen/strgen.sh b/gen/strgen.sh
index 53acece8c06c..27edf9a1355d 100755
--- a/gen/strgen.sh
+++ b/gen/strgen.sh
@@ -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"