Import version 3.2.3

This commit is contained in:
Stefan Eßer 2020-12-06 11:38:46 +00:00
parent 2e4772e823
commit 253e722024
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/vendor/bc/dist/; revision=368385
svn path=/vendor/bc/3.2.3/; revision=368386; tag=vendor/bc/3.2.3
4 changed files with 26 additions and 8 deletions

View File

@ -29,7 +29,7 @@
#
.POSIX:
VERSION = 3.2.0
VERSION = 3.2.3
SRC = %%SRC%%
OBJ = %%OBJ%%

19
NEWS.md
View File

@ -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.

View File

@ -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

View File

@ -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"