Changeset 6848 in vbox
- Timestamp:
- Feb 7, 2008 2:26:22 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedFolders/vbsf.cpp
r6838 r6848 817 817 } 818 818 if ( RT_SUCCESS(rc) 819 || (SHFL_CF_ACT_OPEN_IF_EXISTS == BIT_FLAG(pParms->CreateFlags, SHFL_CF_ACT_MASK_IF_EXISTS)) 820 || (SHFL_FILE_EXISTS == pParms->Result)) /* Call of RTDirCreate() avbove failed, because already existing? */ 819 || (SHFL_CF_ACT_OPEN_IF_EXISTS == BIT_FLAG(pParms->CreateFlags, SHFL_CF_ACT_MASK_IF_EXISTS))) 821 820 { 822 821 /* Open the directory now */ … … 1024 1023 pParms->CreateFlags |= SHFL_CF_DIRECTORY; 1025 1024 } 1025 1026 1026 /** 1027 1027 * @todo This should be in the Windows Guest Additions, as no-one else … … 1056 1056 if (RT_SUCCESS(rc)) 1057 1057 { 1058 if (BIT_FLAG(pParms->CreateFlags, SHFL_CF_DIRECTORY)) 1058 if ( BIT_FLAG(pParms->CreateFlags, SHFL_CF_DIRECTORY) 1059 && RTFS_IS_DIRECTORY(info.Attr.fMode)) 1060 { 1059 1061 rc = vbsfOpenDir (pszFullPath, pParms); 1062 } 1060 1063 else 1064 { 1061 1065 rc = vbsfOpenFile (pszFullPath, pParms); 1066 } 1062 1067 } 1063 1068 }
Note:
See TracChangeset
for help on using the changeset viewer.