VirtualBox

Changeset 71304 in vbox


Ignore:
Timestamp:
Mar 12, 2018 4:49:02 PM (7 years ago)
Author:
vboxsync
Message:

Guest Control/Main: Resolved a todo: Treat empty input as non-existing in GuestSession::fileExists().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp

    r71303 r71304  
    31773177    LogFlowThisFuncEnter();
    31783178
    3179 /** @todo r=bird: Treat empty file with a FALSE return. */
    31803179    if (RT_UNLIKELY((aPath.c_str()) == NULL || *(aPath.c_str()) == '\0'))
    3181         return setError(E_INVALIDARG, tr("No file to check existence for specified"));
     3180    {
     3181        *aExists = FALSE;
     3182        return S_OK;
     3183    }
    31823184
    31833185    GuestFsObjData objData; int rcGuest;
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