VirtualBox

Changeset 6838 in vbox


Ignore:
Timestamp:
Feb 7, 2008 8:26:31 AM (17 years ago)
Author:
vboxsync
Message:

More bugfixes for shared folders.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedFolders/vbsf.cpp

    r6832 r6838  
    653653        case VERR_FILE_NOT_FOUND:
    654654            pParms->Result = SHFL_FILE_NOT_FOUND;
     655
     656            /* This actually isn't an error, so correct the rc before return later,
     657               because the driver (VBoxSF.sys) expects rc = VINF_SUCCESS and checks the result code. */
     658            fNoError = true;
    655659            break;
    656660        case VERR_PATH_NOT_FOUND:
    657661            pParms->Result = SHFL_PATH_NOT_FOUND;
     662
     663            /* This actually isn't an error, so correct the rc before return later,
     664               because the driver (VBoxSF.sys) expects rc = VINF_SUCCESS and checks the result code. */
     665            fNoError = true;
    658666            break;
    659667        case VERR_ALREADY_EXISTS:
     
    667675            pParms->Result = SHFL_FILE_EXISTS;
    668676
    669             /* This actually isn't an error, because the file simply already exists,
    670                so correct the rc before return later, to make the driver (VBoxSF.sys) happy. */
     677            /* This actually isn't an error, so correct the rc before return later,
     678               because the driver (VBoxSF.sys) expects rc = VINF_SUCCESS and checks the result code. */
    671679            fNoError = true;   
    672680            break;
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