tst: memfs-dotnet: Create: fix allocation size

This commit is contained in:
Bill Zissimopoulos 2017-05-09 22:02:37 -07:00
parent d18a2c8b75
commit bd7546559c

View File

@ -341,7 +341,6 @@ namespace memfs
FileNode.FileInfo.FileAttributes = 0 != (FileAttributes & (UInt32)System.IO.FileAttributes.Directory) ?
FileAttributes : FileAttributes | (UInt32)System.IO.FileAttributes.Archive;
FileNode.FileSecurity = SecurityDescriptor;
FileNode.FileInfo.AllocationSize = AllocationSize;
if (0 != AllocationSize)
{
Result = SetFileSizeInternal(FileNode, AllocationSize, true);