• R
    fix (deprecated) mktemp logic and update it to match other temp functions · 38f44d69
    Rich Felker 提交于
    the access function cannot be used to check for existence, because it
    operates using real uid/gid rather than effective to determine
    accessibility; this matters for the non-final path components.
    instead, use stat. failure of stat is success if only the final
    component is missing (ENOENT) and otherwise is failure.
    38f44d69
mktemp.c 538 字节