Download Latest Version calc-2.17.0.0.tar.bz2 (1.0 MB)
Email in envelope

Get an email when there's a new version of calc: C-style arbitrary precision system

Home / old-calc / 2.16.0.2
Name Modified Size InfoDownloads / Week
Parent folder
README.txt 2025-12-22 1.3 kB
calc-2.16.0.2-14.src.rpm 2025-12-22 1.1 MB
calc-2.16.0.2-14.x86_64.rpm 2025-12-22 1.9 MB
calc-2.16.0.2.tar.bz2 2025-12-22 1.0 MB
calc-debuginfo-2.16.0.2-14.x86_64.rpm 2025-12-22 770.6 kB
calc-devel-2.16.0.2-14.x86_64.rpm 2025-12-22 612.5 kB
Totals: 6 Items   5.4 MB 0
The following are the changes in this release:

    Fixed bug, when custom functions were enabled, where returning a
    value from the sysinfo custom function such as:

        custom("sysinfo","DEFAULTSHELL")

    would cause a segmentation violation due to an improper `free(3)`.

    Fixed a memory leak that was related to the sysinfo custom function.

    Added paranoia checks on shell value when processing commands
    read from the tty that start with the "!" character.

    Improved code that converts between UPPER CASE and lower case.

    Verify that the default underlying shell defaults to the shell
    as given by the `$SHELL` environment variable if that environment
    variable is set and is NOT empty, otherwise the `DEFAULTSHELL`
    (as defined in `calc.h`) value will be used as the underlying shell.

    Fixed memory leaks related to various environment variable values
    used by calc code.  All various environment variable values used
    used by calc code are processed by `strdup(3)`.

    The `libcalc_call_me_last()` function frees any non-NULL values set
    by `initenv()`.

    If the readline tilde_expand fails to expand "~/.calc_history",
    then ".calc_history" will be used as the name of the history file.

    Added HIST_NULL_HIST code to indicate that name of the history file
    could not be set.
Source: README.txt, updated 2025-12-22