<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tests/bc, 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 7.0.0</title>
<updated>2024-08-23T16:45:58Z</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=54d20d67e2af28d948ce2df13feb039fa10900fc'/>
<id>urn:sha1:54d20d67e2af28d948ce2df13feb039fa10900fc</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.
</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: upgrade to version 6.7.5</title>
<updated>2024-01-04T23:07:46Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2024-01-04T23:07:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=52a5ec1b178fd07651446c7e31b1512794a04dbf'/>
<id>urn:sha1:52a5ec1b178fd07651446c7e31b1512794a04dbf</id>
<content type='text'>
This update fixes a bug that line breaks in printed numbers may not
match the line length set by the user. The value is printed correctly,
just not split as specified in some situations.
</content>
</entry>
<entry>
<title>vendor/bc: upgrade to version 6.7.2</title>
<updated>2023-10-30T09:10:24Z</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=0b4a06ab29a0da80f6cb5c99189054cb8e2f756c'/>
<id>urn:sha1:0b4a06ab29a0da80f6cb5c99189054cb8e2f756c</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().
</content>
</entry>
<entry>
<title>vendor/bc: upgrade to version 6.6.0</title>
<updated>2023-05-24T11:56:26Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2023-05-24T11:56:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8b83ef067441f6d3a4a55e92d1738724954a057c'/>
<id>urn:sha1:8b83ef067441f6d3a4a55e92d1738724954a057c</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).
</content>
</entry>
<entry>
<title>contrib/bc: import version 6.5.0</title>
<updated>2023-04-30T17:53:26Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2023-04-30T17:53:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=438a1101dc1f687928cdbe02cd7817a88a24f42f'/>
<id>urn:sha1:438a1101dc1f687928cdbe02cd7817a88a24f42f</id>
<content type='text'>
This release that fixes an infinite loop bug in the (non-standard)
extended math library functions root() and cbrt(), fixes a bug with
BC_LINE_LENGTH=0, and adds the fib() function to the extended math
library to calculate Fibonacci numbers.
</content>
</entry>
<entry>
<title>vendor/bc: import version 6.2.4</title>
<updated>2023-02-06T21:28:40Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2023-02-06T21:25:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=aaf1213c6f70af0b517f6aa13cd837d3468a7a0d'/>
<id>urn:sha1:aaf1213c6f70af0b517f6aa13cd837d3468a7a0d</id>
<content type='text'>
This update contains only documentation changes (new main repository
URL and changed mail address of the program author) and changes to
the build system that do not affect the FreeBSD base system build.
</content>
</entry>
<entry>
<title>vendor/bc: import version 6.2.2</title>
<updated>2023-01-28T20:08:43Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2023-01-28T20:08:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1a63323d17fedb05b6962853e821c9d7c6b9853e'/>
<id>urn:sha1:1a63323d17fedb05b6962853e821c9d7c6b9853e</id>
<content type='text'>
This is a production release that fixes a bug.

The bug was that if an array element was used as a parameter, and then
a later parameter had the same name as the array whose element was
used, bc would grab the element from the new array parameter, not the
actual element from before the function call.
</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>
</feed>
