summaryrefslogtreecommitdiffstats
path: root/daemon/mktemp.c
Commit message (Collapse)AuthorAgeFilesLines
* NEW API: mktempWanlong Gao2012-10-171-0/+97
Used to create temporary directory or file with an optional suffix. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> RWMJ: - Split this out into a new file (daemon/mktemp.c). - I don't see a reason to deprecate the mkdtemp function which works fine. Instead remove complex dir-making code from the new function. - Test and fix the patch (missing close(fd)).