diff options
author | 2021-09-19 15:02:55 +0000 | |
---|---|---|
committer | 2021-09-19 15:02:55 +0000 | |
commit | da18dde44e7ed710106dba929c6d3e23d85e4666 (patch) | |
tree | b4918253826d7dac0268e03250e4df170a160681 /regress/roff | |
parent | afc23456a702c165e1732d36f0c82c283686770e (diff) | |
download | mandoc-da18dde44e7ed710106dba929c6d3e23d85e4666.tar.gz mandoc-da18dde44e7ed710106dba929c6d3e23d85e4666.tar.zst mandoc-da18dde44e7ed710106dba929c6d3e23d85e4666.zip |
Two minor improvements:
1. If mktemp(3) fails, do not overwrite the errno because
all errors mktemp(3) might return are also valid for mkdtemp(3).
2. If mkdir(2) fails, always put back the Xes, even if
the error is fatal and the function is about to return NULL.
Diffstat (limited to 'regress/roff')
0 files changed, 0 insertions, 0 deletions