VirtualBox

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

IPRT/*: add _NO_SYMLINKS flags to certain functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/symlink-win.cpp

    r33437 r39612  
    117117
    118118
    119 RTDECL(int) RTSymlinkCreate(const char *pszSymlink, const char *pszTarget, RTSYMLINKTYPE enmType)
     119RTDECL(int) RTSymlinkCreate(const char *pszSymlink, const char *pszTarget, RTSYMLINKTYPE enmType, uint32_t fCreate)
    120120{
    121121    /*
     
    145145    if (!s_pfnCreateSymbolicLinkW)
    146146    {
    147         LogFlow(("RTSymlinkCreate(%p={%s}, %p={%s}, %d): returns VERR_NOT_SUPPORTED - Windows API not found\n",
    148                  pszSymlink, pszSymlink, pszTarget, pszTarget, enmType));
     147        LogFlow(("RTSymlinkCreate(%p={%s}, %p={%s}, %d, %#x): returns VERR_NOT_SUPPORTED - Windows API not found\n",
     148                 pszSymlink, pszSymlink, pszTarget, pszTarget, enmType, fCreate));
    149149        return VERR_NOT_SUPPORTED;
    150150    }
     
    216216    }
    217217
    218     LogFlow(("RTSymlinkCreate(%p={%s}, %p={%s}, %d): returns %Rrc\n", pszSymlink, pszSymlink, pszTarget, pszTarget, enmType, rc));
     218    LogFlow(("RTSymlinkCreate(%p={%s}, %p={%s}, %d, %#x): returns %Rrc\n", pszSymlink, pszSymlink, pszTarget, pszTarget, enmType, fCreate, rc));
    219219    return rc;
    220220}
    221221
    222222
    223 RTDECL(int) RTSymlinkDelete(const char *pszSymlink)
     223RTDECL(int) RTSymlinkDelete(const char *pszSymlink, uint32_t fDelete)
    224224{
    225225    /*
     
    259259    }
    260260
    261     LogFlow(("RTSymlinkDelete(%p={%s}): returns %Rrc\n", pszSymlink, pszSymlink, rc));
     261    LogFlow(("RTSymlinkDelete(%p={%s}, %#x): returns %Rrc\n", pszSymlink, pszSymlink, fDelete, rc));
    262262    return rc;
    263263}
    264264
    265265
    266 RTDECL(int) RTSymlinkRead(const char *pszSymlink, char *pszTarget, size_t cbTarget)
     266RTDECL(int) RTSymlinkRead(const char *pszSymlink, char *pszTarget, size_t cbTarget, uint32_t fRead)
    267267{
    268268    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