VirtualBox

Changeset 3994 in vbox for trunk/src/VBox/HostServices


Ignore:
Timestamp:
Aug 2, 2007 9:54:25 AM (17 years ago)
Author:
vboxsync
Message:

Don't fail if the file/directory, that needs to be created, doesn't exist

File:
1 edited

Legend:

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

    r3993 r3994  
    356356            }
    357357
     358            /** @todo don't check when creating files or directories; waste of time */
    358359            rc = RTPathQueryInfo(pszFullPath, &info, RTFSOBJATTRADD_NOTHING);
    359360            if (rc == VERR_FILE_NOT_FOUND || rc == VERR_PATH_NOT_FOUND)
     
    438439            if (pszWildCardComponent)
    439440                *pszWildCardComponent = RTPATH_DELIMITER;
     441
     442            /* might be a new file so don't fail here! */
     443            rc = VINF_SUCCESS;
    440444        }
    441445        *ppszFullPath = pszFullPath;
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