儲存庫 vbox 的更動 49078
- 時間撮記:
- 2013-10-14 上午02:28:52 (11 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
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
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器