VirtualBox

Ticket #5631: symlinks.2.patch

File symlinks.2.patch, 537 bytes (added by sorcerer, 15 years ago)

Patch fixes incorrect memory usage (corrected)

  • src/VBox/Runtime/r3/posix/path-posix.cpp

    old new  
    462462
    463463RTR3DECL(int) RTPathQueryInfo(const char *pszPath, PRTFSOBJINFO pObjInfo, RTFSOBJATTRADD enmAdditionalAttribs)
    464464{
    465     return RTPathQueryInfoEx(pszPath, pObjInfo, enmAdditionalAttribs, RTPATH_F_ON_LINK);
     465    return RTPathQueryInfoEx(pszPath, pObjInfo, enmAdditionalAttribs, RTPATH_F_FOLLOW_LINK);
    466466}
    467467
    468468

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