summaryrefslogtreecommitdiffstats
path: root/man.cgi.3
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2021-09-19 15:02:55 +0000
committerIngo Schwarze <schwarze@openbsd.org>2021-09-19 15:02:55 +0000
commit08a9df104ea806076574e38335bde3b3ed381325 (patch)
tree281b017fbf06691c192481d8bf791dbc1b2e11c6 /man.cgi.3
parent13c20bb1d8015908c26e113fd9d0b218c900638b (diff)
downloadmandoc-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