HomeFreeBSD

tzsetup(8): Refactoring to delete dialog(3) code

Description

tzsetup(8): Refactoring to delete dialog(3) code

Little refactoring to complete the conversion to bsddialog(3),
not functional changes:

  • Delete: remaining code for autosizing using BSDDIALOG_AUTOSIZE.
  • Add: constants to delete magical numbers and to avoid unclear returned values.
  • Delete: redundant 'conf.button.default_cancel=false', performed by bsddialog_initconf().
  • Add: a new function message_zoneinfo_file() to merge features.

Approved by: bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D34862

Details

Provenance
asicilianoAuthored on Apr 11 2022, 10:27 PM
Differential Revision
D34862: tzsetup(8): Refactoring
Parents
rGc8b6be0f7d1b: protect.1: document existence of _oomprotect
Branches
Unknown
Tags
Unknown