<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tests/bcl.c, branch vendor/bc</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=vendor%2Fbc</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=vendor%2Fbc'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2025-09-11T14:07:46Z</updated>
<entry>
<title>vendor/bc: upgrade to version 7.1.0</title>
<updated>2025-09-11T14:07:46Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2025-09-11T14:07:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=682da5a0fdb2c38ecc3951047a882471d62aa1d1'/>
<id>urn:sha1:682da5a0fdb2c38ecc3951047a882471d62aa1d1</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.
</content>
</entry>
<entry>
<title>vendor/bc: upgrade to version 6.7.6</title>
<updated>2024-07-08T17:49:39Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2024-07-08T17:39:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=898b46e930119f988aa96b8946e4937edbdc1982'/>
<id>urn:sha1:898b46e930119f988aa96b8946e4937edbdc1982</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.
</content>
</entry>
<entry>
<title>vendor/bc: import version 6.4.0</title>
<updated>2023-03-03T22:15:06Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2023-03-03T22:15:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0ff539eb7ca570d65a23a7ad13a91a673d89abcf'/>
<id>urn:sha1:0ff539eb7ca570d65a23a7ad13a91a673d89abcf</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.
</content>
</entry>
<entry>
<title>vendor/bc: import version 6.2.0</title>
<updated>2023-01-28T20:02:27Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2023-01-28T20:02:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e7017237c9d842b4cebdcfb13526cd71a2b2836a'/>
<id>urn:sha1:e7017237c9d842b4cebdcfb13526cd71a2b2836a</id>
<content type='text'>
This is a production release with a new feature and a few bug fixes.

The bug fixes include:

 - A crash when bc and dc are built using editline, but history is not
   activated.
 - A missing local in the uint*() family of functions in the extended
   math library.
 - A failure to clear the tail call list in dc on error.
 - A crash when attempting to swap characters in command-line history
   when no characters exist.
 - SIGWINCH was activated even when history was not.

The new feature is that stack traces are now given for runtime errors.
In debug mode, the C source file and line of errors are given as well.
</content>
</entry>
<entry>
<title>vendor/bc: import version 6.0.2</title>
<updated>2022-08-30T18:37:36Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2022-08-30T18:35:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=161a37cc712bae177402d7143cb21b7d085c69c7'/>
<id>urn:sha1:161a37cc712bae177402d7143cb21b7d085c69c7</id>
<content type='text'>
Changes relative to the previous version in FreeBSD:

- Fix error message on certain syntax errors.
- Add digit clamping (build option and run-time option)
- Make -l options no longer overridee scale value set with -S
</content>
</entry>
<entry>
<title>vendor/bc: import of version 5.3.0</title>
<updated>2022-06-11T09:50:28Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2022-06-11T09:50:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5bdd626528a2bb3e341e283b2eb279235997b8f4'/>
<id>urn:sha1:5bdd626528a2bb3e341e283b2eb279235997b8f4</id>
<content type='text'>
This version adds support for command line editing and history using
the editline or readline libraries in addition to the line editing
features available in previous versions.
</content>
</entry>
<entry>
<title>vendor/bc: update to version 5.1.0</title>
<updated>2021-10-04T19:22:35Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2021-10-04T19:22:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5d58a51571721190681c50d4bd3a1f45e6282d72'/>
<id>urn:sha1:5d58a51571721190681c50d4bd3a1f45e6282d72</id>
<content type='text'>
This version adds options and functions that allow to print numbers
in the open interval (-1 .. 1) with or without a leading 0 digit.

Additionally, an option has been added to prevent line wrap and
allows to print arbitrarily long results on a single line.
</content>
</entry>
<entry>
<title>vendor/bc: imoport release 5.0.0</title>
<updated>2021-08-09T20:32:55Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2021-08-09T20:32:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2f57ecae4b98e76e5d675563785a7e6c59c868c4'/>
<id>urn:sha1:2f57ecae4b98e76e5d675563785a7e6c59c868c4</id>
<content type='text'>
This is a new major release with a number of changes and extensions:

- Limited the number of temporary numbers and made the space for them
  static so that allocating more space for them cannot fail.
- Allowed integers with non-zero scale to be used with power, places,
  and shift operators.
- Added greatest common divisor and least common multiple to lib2.bc.
- Made bc and dc UTF-8 capable.
- Added the ability for users to have bc and dc quit on SIGINT.
- Added the ability for users to disable prompt and TTY mode by
  environment variables.
- Added the ability for users to redefine keywords.
- Added dc's modular exponentiation and divmod to bc.
- Added the ability to assign strings to variables and array elements
  and pass them to functions in bc.
- Added dc's asciify command and stream printing to bc.
- Added bitwise and, or, xor, left shift, right shift, reverse,
  left rotate, right rotate, and mod functions to lib2.bc.
- Added the functions s2u(x) and s2un(x,n), to lib2.bc.
</content>
</entry>
<entry>
<title>Vendor import of Gavin Howard's bc version 3.2.6</title>
<updated>2021-01-31T19:58:45Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2021-01-31T19:56:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=47a52dc4d48f259ab7d9f9ba6b65f4f2331a22dc'/>
<id>urn:sha1:47a52dc4d48f259ab7d9f9ba6b65f4f2331a22dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Import version 3.2.0</title>
<updated>2020-11-26T17:27:07Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2020-11-26T17:27:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2e4772e82335c32e07d0605e5edefb0ac6ea857b'/>
<id>urn:sha1:2e4772e82335c32e07d0605e5edefb0ac6ea857b</id>
<content type='text'>
</content>
</entry>
</feed>
