github a-j-wood/pv v1.7.24

15 months ago

Correction to terminal size detection. This was broken by the configuration script rewrite in 1.7.17.

This release also introduces the first step towards further code cleanups, which should improve robustness. The code analysis tools splint and flawfinder are being used on all source files. The first thing they highlighted was the potentially unsafe DEBUG environment variable (only used when "--enable-debugging" is passed to "./configure"), so this has been removed. When debugging mode is enabled, developers must now use the "--debug" option to specify the debugging output file, instead of the environment variable.

As an introduction to Unicode output support (a precursor to possibly implementing GH#15 "Unicode output for more granular progress" in future), the "--help" option will now word-wrap and align its output appropriately for the terminal size, taking character widths into account rather than byte counts.

1.7.24 - 30 July 2023

  • fix: correct terminal size detection, broken in 1.7.17 by the configuration script rewrite (GH#72)
  • security: removed DEBUG environment variable in debug mode, added "--debug" instead
  • cleanup: added "make analyse" to run "splint" and "flawfinder" on all source files
  • cleanup: corrected detection of boolean capability
  • cleanup: word wrapping of "--help" output is now multi-byte locale aware
  • cleanup: adjusted "indent" rules to line length of 120 and reformatted code

Don't miss a new pv release

NewReleases is sending notifications on new releases.