VirtualBox

Ignore:
Timestamp:
Aug 2, 2016 10:07:14 AM (8 years ago)
Author:
vboxsync
Message:

IPRT: warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/string/uniread.cpp

    r62477 r62863  
    10241024        memset(szBuf, 0, sizeof(szBuf));
    10251025#ifdef _MSC_VER
    1026         _getcwd(szBuf, sizeof(szBuf));
     1026        if (!_getcwd(szBuf, sizeof(szBuf)))
    10271027#else
    1028         getcwd(szBuf, sizeof(szBuf));
     1028        if (!getcwd(szBuf, sizeof(szBuf)))
    10291029#endif
     1030            return RTEXITCODE_FAILURE;
    10301031        pszBaseDir = szBuf;
    10311032    }
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