Skip to content

Release 4.0.0

Compare
Choose a tag to compare
@gavinhoward gavinhoward released this 05 Apr 17:17
· 998 commits to master since this release

This is a production release with many fixes, a new command-line option, and a big surprise:

  • A bug was fixed in dc's P command where the item on the stack was not popped.
  • Various bugs in the manuals have been fixed.
  • A known bug was fixed where history did not interact well with prompts printed by user code without newlines.
  • A new command-line option, -R and --no-read-prompt was added to disable just the prompt when using read() (bc) or ? (dc).
  • And finally, official support for Windows was added.

The last item is why this is a major version bump.

Currently, only one set of build options (extra math and prompt enabled, history and NLS/locale support disabled, both calculators enabled) is supported on Windows. However, both debug and release builds are supported.

In addition, Windows builds are supported for the the library (bcl).

For more details about how to build on Windows, see the README or the build manual.

$ sha512sum bc-4.0.0.tar.xz
e25f4377df81c14f7036fdcbcd503a10ebb4e2663b182da78928aad871b22940c503d54f9a7942798d4e1f38e0487047f492348041a229f18e0fd0e45aab33b3  bc-4.0.0.tar.xz

$ sha256sum bc-4.0.0.tar.xz
d3c3ea6c3a439d20eb57e4b84b10f16a41af1b069640a591f584d704054f0a48  bc-4.0.0.tar.xz

$ stat -c '%s  %n'
235496  bc-4.0.0.tar.xz

$ sha512sum bc-4.0.0.tar.xz.sig
cc511655b2cc68d6b4e5bd1e4228abf9a4ff12d96a7f28dab3f418163e9013063acdc052906c94ce285ed94be7e0c8b957988b1842170adae3c7511f2a451bb9  bc-4.0.0.tar.xz.sig

$ sha256sum bc-4.0.0.tar.xz.sig
568c27c9bd7b0ac44244aadce2f76760fd5d5dc4f605cdb12a1568b826344be7  bc-4.0.0.tar.xz.sig

$ stat -c '%s  %n'
662  bc-4.0.0.tar.xz.sig