Up to [cvsweb.bsd.lv] / mandoc
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: HEAD
Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 19 15:02:55 2021 UTC (3 years ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6,
HEAD
Changes since 1.3: +5 -7 lines
Diff to previous 1.3 (colored)
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.