Opened 2 years ago

Closed 2 years ago

#5090 closed enhancement (fixed)

bc-6.0.1

Reported by: Bruce Dubbs Owned by: lfs-book
Priority: normal Milestone: 11.2
Component: Book Version: git
Severity: normal Keywords:
Cc:

Description

New major version.

Change History (3)

comment:1 by Bruce Dubbs, 2 years ago

Summary: bc-6.0.0bc-6.0.1

Now version 6.0.1.

comment:2 by Bruce Dubbs, 2 years ago

# 6.0.1

This is a production release that fixes memory bugs and memory leaks in bcl.

Users that do not use bcl (use only bc and/or dc) do *NOT* need to upgrade.

These happened because I was unaware that the bcl test was not hooked into the Valgrind test infrastructure. Then, when I ran the release script, which tests everything under Valgrind (or so I thought), it caught nothing, and I thought it was safe.

But it was not.

Nevertheless, I have now run it under Valgrind and fixed all of the memory bugs (caused by not using memset() where I should have but previously didn't have to) and memory leaks.

# 6.0.0

This is a production release that fixes an oversight in the bc parser (that sometimes caused the wrong error message) and adds a feature for compatibility with the BSD bc and dc: turning off digit clamping when parsing numbers.

The default for clamping can be set during the build (see the [build manual][13]), it can be set with the BC_DIGIT_CLAMP and DC_DIGIT_CLAMP environment variables, and it can be set with the -c and -C command-line options.

Turning off clamping was also added to the bcl library.

In addition, signal handling was removed from the bcl library in order to add the capability for multi-threading. This required a major version bump. I apologize to all library users (I don't know of any), but signals and threads do not play well together.

To help with building, a convenience option (-p) to configure.sh was added to build a bc and dc that is by default compatible with either the BSD bc and dc or the GNU bc and dc.

comment:3 by Bruce Dubbs, 2 years ago

Resolution: fixed
Status: newclosed

Fixed at commit 3bc662bc9e6848852de28346901330174040446a

Update to vim-9.0.0192.
Update to iana-etc-20220803.
Update to tzdata-2022b.
Update to iproute2-5.19.0.
Update to linux-5.19.1.
Update to bc-6.0.1.
Note: See TracTickets for help on using tickets.