HomeFreeBSD

bc: Upgrade to version 3.2.4

Description

bc: Upgrade to version 3.2.4

This update changes the behavior of "-e" or "-f" in BC_ENV_ARGS:

Use of these options on the command line makes bc exit after executing
the given commands. These options will not cause bc to exit when
passed via the environment (but EOF in STDIN or -e or -f on the
command line will make bc exit as before).

The same applies to DC_ENV_ARGS with regard to the dc program.

Make length(0) and length(0.0) return 1 for compatibility with GNU bc
and the traditional FreeBSD bc.

Fix a potential division by zero error in a non-standard (extended)
math library function.

(cherry picked from commit e458944cf9deec51d03ec751050a58ddf43e796f)
(cherry picked from commit 9a995fe186257315e7b3d01e24c55d86bb18fd32)
(cherry picked from commit 4aa71da8dc004aa5027836259433e5bff3cd9104)
(cherry picked from commit 028616d0dd69a3da7a30cb94d35f040bf2ced6b9)
(cherry picked from commit f165641df4da1752f8bb1f55c1e602cdb657fba4)
(cherry picked from commit 893ecb52db5ed47d6c1e8698334d34e0df651612)

Details

Provenance
seAuthored on Dec 27 2020, 8:53 PM
Parents
rG2b61bda2c75f: Use C11 anonymous unions.
Branches
Unknown
Tags
Unknown