[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/bc-gh math/bc-gh: Update to 2.1.0
user: gdt <gdt%pkgsrc.org@localhost>
date: Tue Aug 06 11:13:07 2019 +0000
math/bc-gh: Update to 2.1.0
This release is a production release.
The following bugs were fixed:
A dc bug that caused stack mishandling was fixed.
A warning on OpenBSD was fixed.
Bugs in ctrl+arrow operations in history were fixed.
The ability to paste multiple lines in history was added.
A bc bug, mishandling of array arguments to functions, was fixed.
A crash caused by freeing the wrong pointer was fixed.
A dc bug where strings, in a rare case, were mishandled in parsing was fixed.
In addition, the following changes were made:
Division was slightly optimized.
An option was added to the build to disable printing of prompts.
The special case of empty arguments is now handled. This is to
prevent errors in scripts that end up passing empty arguments.
A harmless bug was fixed. This bug was that, with the pop
instructions (mostly) removed (see below), bc would leave extra
values on its stack for void functions and in a few other
cases. These extra items would not affect anything put on the
stack and would not cause any sort of crash or even buggy
behavior, but they would cause bc to take more memory than it
On top of the above changes, the following optimizations were added:
The need for pop instructions in bc was removed.
Extra tests on every iteration of the interpreter loop were removed.
Updating function and code pointers on every iteration of the
interpreter loop was changed to only updating them when necessary.
Extra assignments to pointers were removed.
Altogether, these changes sped up the interpreter by around 2x.
NOTE: This is the last release with new features because this bc is
now considered complete. From now on, only bug fixes and new
translations will be added to this bc.
math/bc-gh/Makefile | 4 ++--
math/bc-gh/distinfo | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (27 lines):
diff -r a3602c4ea08c -r 2042eb970617 math/bc-gh/Makefile
--- a/math/bc-gh/Makefile Tue Aug 06 11:09:16 2019 +0000
+++ b/math/bc-gh/Makefile Tue Aug 06 11:13:07 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2019/06/17 00:35:33 gdt Exp $
+# $NetBSD: Makefile,v 1.2 2019/08/06 11:13:07 gdt Exp $
diff -r a3602c4ea08c -r 2042eb970617 math/bc-gh/distinfo
--- a/math/bc-gh/distinfo Tue Aug 06 11:09:16 2019 +0000
+++ b/math/bc-gh/distinfo Tue Aug 06 11:13:07 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2019/06/17 00:35:33 gdt Exp $
+$NetBSD: distinfo,v 1.2 2019/08/06 11:13:07 gdt Exp $
-SHA1 (bc-2.0.3.tar.xz) = e4f162f7d87b6c09c1fe2ff0598397cdd9c62261
-RMD160 (bc-2.0.3.tar.xz) = 889d192320f6a225350c4e5de2e99472d4cf27e5
-SHA512 (bc-2.0.3.tar.xz) = 1eabc44a33c08e1cc20c7112843e18544860dc8621cf655c2453858d64b720cada4835ab6142110f296c4d6ad82e77725e603fd11b84b61b073efccc9f6a1c45
-Size (bc-2.0.3.tar.xz) = 162360 bytes
+SHA1 (bc-2.1.0.tar.xz) = 4de8fa54182036e8391d9fd9ae2ada4e09664da1
+RMD160 (bc-2.1.0.tar.xz) = fe6a4c5fe72eaa7e2a0ed6dfdbdc6d888abd780b
+SHA512 (bc-2.1.0.tar.xz) = d117c0433b08d7bf4986ff49a39b6cbd1048399e74a3781ba48b27008d18c1cedfaca79c1d0510919b194bc593699ba99a736c377815cb3659cec772b45b1cd1
+Size (bc-2.1.0.tar.xz) = 153912 bytes
Main Index |
Thread Index |