diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-10-19 21:10:56 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-10-19 21:10:56 +0000 |
commit | 91b1cb33a43568849992bf87dd152de6f67c92e6 (patch) | |
tree | d629830d90ce4e06b80452d00c008fd8e0d8d50d /demandoc.c | |
parent | 3cf17a318429a45c12b19ab051cb0d67a9c15989 (diff) | |
download | mandoc-91b1cb33a43568849992bf87dd152de6f67c92e6.tar.gz |
Rewrite parse_path_info() to be four lines shorter, simplify ownership
of allocated strings, do not write to the input string, and improve
diagnostic output.
The confusing error message "invalid arch" as a reaction to mistyping
the release name was noticed by tb@, who likes the new code and message.
Diffstat (limited to 'demandoc.c')
0 files changed, 0 insertions, 0 deletions