Skip to content

RRDtool Version 1.9.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 29 Jul 08:43
· 20 commits to master since this release
522b228

RRDtool 1.9.0 — 2024-07-29

Bugfixes

  • Fix ytop and ybase adjustments for overlaping area issue on transparent areas @turban
  • Suppress warnings of implicit fall through @youpong
  • Update tarball download link in doc @c72578
  • Fix unsigned integer overflow in rrdtool first. Add test for rrd_first() @c72578
  • Fix tests under MSYS2 (Windows) @c72578
  • Fix BUILD_DATE in rrdtool help output @c72578
  • acinclude.m4: Include <stdlib.h> when using exit @ryandesign
  • rrdtool-release: Create NUMVERS from VERSION file @c72578
  • Avoids leaking of file descriptors in multi threaded programs by @ensc
  • Avoids potential unterminated string because of fixed PATH_MAX buffer
  • Fix extra reference of parameters of rrd_fetch_dbi_{long,double} @jamborm

Features

  • Remove autogenerated files from git repo (configure, Makefile.in, conftools, rrd_config.h.in)

  • Reads $RRD_LOCKING environment variable and adds --locking option to some tools. The updatex api has been also
    updated to support setting locking related bits in its extra_flags parameter. @ensc

    This allows now to choose between three kinds of locking:

    none: no locking is done at all; caller has to do it manually and can implement e.g., a timeout with alarm(2) or so
    try: fails when lock is hold by another process; users will see "ERROR: could not lock RRD". This is the default and the only possible mode with the old code
    block: waits until lock is available.

    It can be used like
    env RRD_LOCKING=block rrdupdate ...
    or
    rrdupdate --locking none ...
    or
    rrd_updatex_r(filename, tmplt, RRD_FLAGS_LOCKING_MODE_BLOCK, ...);

  • Add (remote) dump support to rrdcached @thz

  • Constify argv argument to library functions
    Without this, users of library function that want to pass in const strings need to duplicate them to avoid compiler warnings

  • Avoid multiple implementations of asprintf
    The locale-independent rrd_asprintf is equivalent to platform-provided snprintf when strings and integers are formatted.
    There is no user of vasprintf-msvc that is locale-dependent, therefore this implementation can be replaced with rrd_vasprintf.

Windows Binaries

  • Visual Studio 2022 builds (MSVC):

    • 32 bit: rrdtool-1.9.0-x86_vcpkg.zip
    • 64 bit: rrdtool-1.9.0-x64_vcpkg.zip
    • The builds have been prepared using GitHub Action Release Windows
  • MSYS2 (MinGW-w64) builds:

    • 32 bit: rrdtool-1.9.0-bin-mingw32.zip
    • 64 bit: rrdtool-1.9.0-bin-mingw64.zip
    • Package: mingw-w64-rrdtool