VirtualBox

Ignore:
Timestamp:
May 28, 2009 12:34:52 AM (16 years ago)
Author:
vboxsync
Message:

IPRT: Use the generic RTDirCreateTemp implementation - made it a bit more flexible and added a testcase for it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/dir-posix.cpp

    r20102 r20111  
    107107    LogFlow(("RTDirCreate(%p={%s}, %RTfmode): returns %Rrc\n", pszPath, pszPath, fMode, rc));
    108108    return rc;
    109 }
    110 
    111 
    112 RTDECL(int) RTDirCreateTemp(char *pszTemplate)
    113 {
    114     if (mkdtemp(pszTemplate))
    115         return VINF_SUCCESS;
    116 
    117     return RTErrConvertFromErrno(errno);
    118109}
    119110
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette