diff options
| author | dev <dev@example> | 2026-11-14 17:46:44 +0000 |
|---|---|---|
| committer | dev <dev@example> | 2026-11-14 17:46:44 +0000 |
| commit | 11c976ec713b975568594cf57d9118f58ba8c511 (patch) | |
| tree | 840912cd000f50fbd4c045a3bceaa2b55261f3fe /test/parse.c | |
| parent | 12dcb09794c48a333bb850d353540c688c503b76 (diff) | |
| download | access-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 'test/parse.c')
0 files changed, 0 insertions, 0 deletions
