- Timestamp:
- Oct 14, 2013 2:28:52 AM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 89885
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/dir-win.cpp
r48935 r49078 73 73 * Turn off indexing of directory through Windows Indexing Service 74 74 */ 75 if (RT_SUCCESS(rc)) 75 /** @todo This FILE_ATTRIBUTE_NOT_CONTENT_INDEXED hack (for .VDI files, 76 * really) may cause failures on samba shares. That really sweet and 77 * need to be addressed differently. We shouldn't be doing this 78 * unless the caller actually asks for it, must less returning failure, 79 * for crying out loud! This is only important a couple of places in 80 * main, if important is the right way to put it... */ 81 if ( RT_SUCCESS(rc) 82 && !(fCreate & RTDIRCREATE_FLAGS_NOT_CONTENT_INDEXED_DONT_SET)) 76 83 { 77 if (SetFileAttributesW((LPCWSTR)pwszString, FILE_ATTRIBUTE_NOT_CONTENT_INDEXED)) 84 if ( SetFileAttributesW((LPCWSTR)pwszString, FILE_ATTRIBUTE_NOT_CONTENT_INDEXED) 85 || (fCreate & RTDIRCREATE_FLAGS_NOT_CONTENT_INDEXED_NOT_CRITICAL) ) 78 86 rc = VINF_SUCCESS; 79 87 else
Note:
See TracChangeset
for help on using the changeset viewer.