Changeset 6896 in vbox
- Timestamp:
- Feb 11, 2008 12:46:36 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedFolders/vbsf.cpp
r6848 r6896 1007 1007 /* Query path information. */ 1008 1008 RTFSOBJINFO info; 1009 memset (&info, 0, sizeof(RTFSOBJINFO)); 1009 1010 1010 1011 rc = RTPathQueryInfo (pszFullPath, &info, RTFSOBJATTRADD_NOTHING); … … 1056 1057 if (RT_SUCCESS(rc)) 1057 1058 { 1058 if ( BIT_FLAG(pParms->CreateFlags, SHFL_CF_DIRECTORY) 1059 && RTFS_IS_DIRECTORY(info.Attr.fMode)) 1059 if (BIT_FLAG(pParms->CreateFlags, SHFL_CF_DIRECTORY)) 1060 1060 { 1061 1061 rc = vbsfOpenDir (pszFullPath, pParms); 1062 1063 /* The Windows driver sometimes reports files with the flag SHFL_CF_DIRECTORY, 1064 which actually isn't an error. */ 1065 if (rc == VERR_NOT_A_DIRECTORY) 1066 rc = VINF_SUCCESS; 1062 1067 } 1063 1068 else
Note:
See TracChangeset
for help on using the changeset viewer.