diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2021-09-19 15:02:55 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2021-09-19 15:02:55 +0000 |
commit | 08a9df104ea806076574e38335bde3b3ed381325 (patch) | |
tree | 281b017fbf06691c192481d8bf791dbc1b2e11c6 /man.cgi.3 | |
parent | 13c20bb1d8015908c26e113fd9d0b218c900638b (diff) | |
download | mandoc-08a9df104ea806076574e38335bde3b3ed381325.tar.gz |
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 'man.cgi.3')
0 files changed, 0 insertions, 0 deletions