<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/contrib/bc/Makefile.in, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2025-09-11T14:16:39Z</updated>
<entry>
<title>contrib/bc upgrade to version 7.1.0</title>
<updated>2025-09-11T14:16:39Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2025-09-11T14:16:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fdc4a7c8012b214986cfa2e2fb6d99731f004b1b'/>
<id>urn:sha1:fdc4a7c8012b214986cfa2e2fb6d99731f004b1b</id>
<content type='text'>
This update fixes a few bugs:
- Improper response to double SIGINT with editline.
- Not letting libedit handle terminal size changes.
- A dc crash from improperly handling an error.
- A duplicate check for reference arrays.
- Build failures with GCC 15.

Merge commit '682da5a0fdb2c38ecc3951047a882471d62aa1d1'
</content>
</entry>
<entry>
<title>vendor/bc: upgrade to version 7.0.0</title>
<updated>2024-08-26T16:27:29Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2024-08-23T16:45:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=12e0d316644a4f80f5f1f78cf07bd93def43b1ca'/>
<id>urn:sha1:12e0d316644a4f80f5f1f78cf07bd93def43b1ca</id>
<content type='text'>
This is a production release to fix three bugs, none of which
affects well formed scripts on FreeBSD:

The first bug is that bc/dc will exit on macOS when the terminal
is resized.

The second bug is that an array, which should only be a function
parameter, was accepted as part of larger expressions.

The third bug is that the value stack for dc was cleared on any error.
However, this is not how other dc behave. To bring dc more in line
with other implementations, this behavior was changed. This change is
why this version is a new major version.

(cherry picked from commit 54d20d67e2af28d948ce2df13feb039fa10900fc)

MFC after:	3 days
</content>
</entry>
<entry>
<title>contrib/bc: upgrade to version 6.7.6</title>
<updated>2024-07-09T05:49:27Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2024-07-09T05:49:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a970610a3af63b3f4df5b69d91c6b4093a00ed8f'/>
<id>urn:sha1:a970610a3af63b3f4df5b69d91c6b4093a00ed8f</id>
<content type='text'>
This update fixes a potential issue when flushing stdout on exit
fails: longjmp could use an uninitialized target address variable.

Most files are included in this commit due to a changed date in
the copyright note.

(cherry picked from commit 52a5ec1b178fd07651446c7e31b1512794a04dbf)

MFC after:      3 days
</content>
</entry>
<entry>
<title>vendor/bc: upgrade to version 6.7.2</title>
<updated>2024-01-10T16:34:49Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2023-10-30T09:10:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=aa339f1d5df9e38f36a34eb522355c4eebcae6c4'/>
<id>urn:sha1:aa339f1d5df9e38f36a34eb522355c4eebcae6c4</id>
<content type='text'>
This update improves the implementation of the power function p() and
adds 3 new functions to the extended math library: min(), max(), and
i2rand().

(cherry picked from commit 0b4a06ab29a0da80f6cb5c99189054cb8e2f756c)
</content>
</entry>
<entry>
<title>contrib/bc: upgrade to version 6.6.0</title>
<updated>2023-05-25T15:55:31Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2023-05-25T15:55:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=76238846ad3e9e271a3d1f792f72beab727fd153'/>
<id>urn:sha1:76238846ad3e9e271a3d1f792f72beab727fd153</id>
<content type='text'>
This update removes printing of a leading zero in scientific or
engineering output modes (which are an extended feature of this
implementation).

(cherry-picked from commit 8b83ef067441f6d3a4a55e92d1738724954a057c)

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>contrib/bc: update to version 6.4.0</title>
<updated>2023-03-10T10:33:33Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2023-03-10T10:33:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=175a4d10428e1c2f26f1426003757daf25d4726f'/>
<id>urn:sha1:175a4d10428e1c2f26f1426003757daf25d4726f</id>
<content type='text'>
This version contains a fix for an issue that can affect complex
bc scripts that use multiple read() functions that receive input from
an interactive user. The same value could be returned multiple times.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>vendor/bc: import version 6.3.1</title>
<updated>2023-02-24T22:52:09Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2023-02-24T22:14:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=103d7cdfb7435591049413e1bc39482cb316efb7'/>
<id>urn:sha1:103d7cdfb7435591049413e1bc39482cb316efb7</id>
<content type='text'>
This version adds a command to dc to query whether extended registers
are enabled or not.

(cherry picked from commit 61e1a12bb6c3bfdb0a4e499c88e8eaa2b548e427)
</content>
</entry>
<entry>
<title>contrib/bc: merge from vendor release 6.2.2</title>
<updated>2023-01-28T21:26:22Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2023-01-28T21:26:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d101cdd6edd782f6ec56eef63ed91abd77a8b317'/>
<id>urn:sha1:d101cdd6edd782f6ec56eef63ed91abd77a8b317</id>
<content type='text'>
This update fixes a few issues in history editing and the processing
of the "quit" function. The "quit" function will no longer cause bc
to exit when encountered in a script file (before any command from
the script has been executed).

New functions is_number(), is_string return 1 if the passed argument
is a number resp. a string. The asciify() function has been extended
to support the conversion of an array of numbers into a string.

Merge commit '1a63323d17fedb05b6962853e821c9d7c6b9853e'
</content>
</entry>
<entry>
<title>usr.bin/bc: update to version 5.3.1</title>
<updated>2022-06-11T11:14:37Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2022-06-11T11:03:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=78bc019d220e05abb5b12f678f9b4a847019bbcc'/>
<id>urn:sha1:78bc019d220e05abb5b12f678f9b4a847019bbcc</id>
<content type='text'>
This version adds support for command line editing and history using
the libedit or readline libraries in addition to the line editing
features available in previous versions.

The version in the base system is configured to use libedit.

This allows to choose between emacs and vi line editing commands and
to use command overrides via a ~/.editrc file.

Merge commit 'bd54318046bfee055b140705a5cfd4148e78da07'

PR:		264010

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>contrib/bc: merge version 5.2.1 from vendor branch</title>
<updated>2021-11-30T17:40:32Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2021-11-30T17:40:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=10041e99a0c29c9f99c4148fc173bb12dd26aa8d'/>
<id>urn:sha1:10041e99a0c29c9f99c4148fc173bb12dd26aa8d</id>
<content type='text'>
Merge commit 'e63540eed295749528548c2e3a90f5a6e57275c8'
</content>
</entry>
</feed>
