VirtualBox

Changeset 39612 in vbox for trunk/src/VBox/Runtime/r3/posix


Ignore:
Timestamp:
Dec 14, 2011 2:19:55 PM (13 years ago)
Author:
vboxsync
Message:

IPRT/*: add _NO_SYMLINKS flags to certain functions

Location:
trunk/src/VBox/Runtime/r3/posix
Files:
3 edited

Legend:

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

    r39083 r39612  
    7878
    7979
    80 RTDECL(int) RTDirCreate(const char *pszPath, RTFMODE fMode)
     80RTDECL(int) RTDirCreate(const char *pszPath, RTFMODE fMode, uint32_t fCreate)
    8181{
    8282    int rc;
  • trunk/src/VBox/Runtime/r3/posix/path-posix.cpp

    r36906 r39612  
    523523
    524524
     525RTR3DECL(int) RTPathUnlink(const char *pszPath, uint32_t fUnlink)
     526{
     527    return VERR_NOT_IMPLEMENTED;
     528}
     529
     530
    525531RTDECL(bool) RTPathExists(const char *pszPath)
    526532{
  • trunk/src/VBox/Runtime/r3/posix/symlink-posix.cpp

    r33426 r39612  
    9292
    9393
    94 RTDECL(int) RTSymlinkCreate(const char *pszSymlink, const char *pszTarget, RTSYMLINKTYPE enmType)
     94RTDECL(int) RTSymlinkCreate(const char *pszSymlink, const char *pszTarget, RTSYMLINKTYPE enmType, uint32_t fCreate)
    9595{
    9696    /*
     
    125125    }
    126126
    127     LogFlow(("RTSymlinkCreate(%p={%s}, %p={%s}, %d): returns %Rrc\n", pszSymlink, pszSymlink, pszTarget, pszTarget, enmType, rc));
    128     return rc;
    129 }
    130 
    131 
    132 RTDECL(int) RTSymlinkDelete(const char *pszSymlink)
     127    LogFlow(("RTSymlinkCreate(%p={%s}, %p={%s}, %d, %#x): returns %Rrc\n", pszSymlink, pszSymlink, pszTarget, pszTarget, enmType, fCreate, rc));
     128    return rc;
     129}
     130
     131
     132RTDECL(int) RTSymlinkDelete(const char *pszSymlink, uint32_t fDelete)
    133133{
    134134    char const *pszNativeSymlink;
     
    154154    }
    155155
    156     LogFlow(("RTSymlinkDelete(%p={%s}): returns %Rrc\n", pszSymlink, pszSymlink, rc));
    157     return rc;
    158 }
    159 
    160 
    161 RTDECL(int) RTSymlinkRead(const char *pszSymlink, char *pszTarget, size_t cbTarget)
     156    LogFlow(("RTSymlinkDelete(%p={%s}, #%x): returns %Rrc\n", pszSymlink, pszSymlink, fDelete, rc));
     157    return rc;
     158}
     159
     160
     161RTDECL(int) RTSymlinkRead(const char *pszSymlink, char *pszTarget, size_t cbTarget, uint32_t fRead)
    162162{
    163163    char *pszMyTarget;
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