pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/bc-gh
Module Name: pkgsrc
Committed By: gdt
Date: Tue Aug 6 11:13:07 UTC 2019
Modified Files:
pkgsrc/math/bc-gh: Makefile distinfo
Log Message:
math/bc-gh: Update to 2.1.0
Upstream changes:
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
needed.
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.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/math/bc-gh/Makefile \
pkgsrc/math/bc-gh/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/bc-gh/Makefile
diff -u pkgsrc/math/bc-gh/Makefile:1.1 pkgsrc/math/bc-gh/Makefile:1.2
--- pkgsrc/math/bc-gh/Makefile:1.1 Mon Jun 17 00:35:33 2019
+++ pkgsrc/math/bc-gh/Makefile Tue Aug 6 11:13:07 2019
@@ -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 $
-VERSION= 2.0.3
+VERSION= 2.1.0
DISTNAME= bc-${VERSION}
PKGNAME= bc-gh-${VERSION}
CATEGORIES= math
Index: pkgsrc/math/bc-gh/distinfo
diff -u pkgsrc/math/bc-gh/distinfo:1.1 pkgsrc/math/bc-gh/distinfo:1.2
--- pkgsrc/math/bc-gh/distinfo:1.1 Mon Jun 17 00:35:33 2019
+++ pkgsrc/math/bc-gh/distinfo Tue Aug 6 11:13:07 2019
@@ -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
Home |
Main Index |
Thread Index |
Old Index