VirtualBox

Changeset 56711 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 30, 2015 9:44:44 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
101355
Message:

IGuestSession::fsObjQueryInfo: Return E_INVALIDARG if empty input path, we currently don't have a documented way of indicating that something doesn't exists it seems. sigh.

File:
1 edited

Legend:

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

    r56709 r56711  
    31753175            hrc = setErrorVrc(vrc, tr("Querying file information for \"%s\" failed: %Rrc"), aPath.c_str(), vrc);
    31763176    }
    3177     /* else: If the file name is empty, there is no way it can exists. So, don't
    3178        be a tedious and return E_INVALIDARG, simply return FALSE. */
     3177    else
     3178            hrc = setError(E_INVALIDARG, tr("the path parameter must not be empty/NULL"));
    31793179    LogFlowThisFuncLeave();
    31803180    return hrc;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette