Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | NEW API: mktemp | Wanlong Gao | 2012-10-17 | 1 | -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)). |