summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordev <dev@example>2026-11-14 17:46:44 +0000
committerdev <dev@example>2026-11-14 17:46:44 +0000
commit11c976ec713b975568594cf57d9118f58ba8c511 (patch)
tree840912cd000f50fbd4c045a3bceaa2b55261f3fe /tests
parent12dcb09794c48a333bb850d353540c688c503b76 (diff)
downloadaccess-control-11c976ec713b975568594cf57d9118f58ba8c511.tar.gz
access-control-11c976ec713b975568594cf57d9118f58ba8c511.zip
One reader for every file, one voice for every finding
Seven places opened a file, ran a getline loop, freed the line buffer and closed the handle, and five of them also rewrote the same skip-the-blank- and-comment preamble. authz_read_lines() does it once, and keeps the distinction policy_load needed: a file that would not give an answer is not an empty file. lines_t moves to util.c with it, so edit.c's private copy goes too. verr, vwarn and vok were one function with three tags. cmd_authorize now frees what it read on one path instead of four.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions