Update file.c

This commit is contained in:
爱编程的叶一笑 2024-06-07 19:52:34 +08:00 committed by GitHub
parent a5eb168376
commit ccb9c725ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -3516,9 +3516,11 @@ ReparseLoop:
// open, for a CopyPath that does not exist, must also include
// write access, or else it would have been handled earlier already)
//
if(SbieApi_QueryConfBool(NULL,L"CopyFileOnOpen",FALSE))
/*
//Disabled it now to test.
if(SbieApi_QueryConfBool(NULL,L"CopyFileOnOpen",FALSE))
status = File_MigrateFile(
TruePath, CopyPath, IsWritePath, TRUE);
TruePath, CopyPath, IsWritePath, TRUE);*/
else
if (FileType & TYPE_REPARSE_POINT) {