summaryrefslogtreecommitdiffstats
path: root/compat_mkdtemp.c
Commit message (Collapse)AuthorAgeFilesLines
* Two minor improvements:Ingo Schwarze2021-09-191-6/+4
| | | | | | | 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.
* Only compile compat_*.c implementations that are actually needed.Ingo Schwarze2020-06-151-11/+2
| | | | | That's cleaner and it is supposed to fix compiler warnings with gcc 10 reported by Wynn Wolf Arbor <wolf at oriole dot systems> on discuss@.
* modernize style: "return" is not a functionIngo Schwarze2015-10-061-4/+4
|
* Compat glue needed for Solaris 9 and 10.Ingo Schwarze2015-03-191-0/+61
Thanks to Sevan Janiyan <venture37 at geeklan dot co dot uk> for reporting the Solaris 10 issues, to Jan Holzhueter <jh at opencsw dot org> for some additional insight, and to OpenCSW in general for providing me with a Solaris 9/10/11 testing environment.