mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-10-30 11:38:39 -05:00 
			
		
		
		
	tst: passthrough: minor fix
This commit is contained in:
		| @@ -254,6 +254,9 @@ static NTSTATUS Overwrite(FSP_FILE_SYSTEM *FileSystem, | |||||||
|  |  | ||||||
|     if (ReplaceFileAttributes) |     if (ReplaceFileAttributes) | ||||||
|     { |     { | ||||||
|  |         if (0 == FileAttributes) | ||||||
|  |             FileAttributes = FILE_ATTRIBUTES_NORMAL; | ||||||
|  |  | ||||||
|         BasicInfo.FileAttributes = FileAttributes; |         BasicInfo.FileAttributes = FileAttributes; | ||||||
|         if (!SetFileInformationByHandle(Handle, |         if (!SetFileInformationByHandle(Handle, | ||||||
|             FileBasicInfo, &BasicInfo, sizeof BasicInfo)) |             FileBasicInfo, &BasicInfo, sizeof BasicInfo)) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user