mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
tst: memfs-dotnet: fix rename_caseins_test
This commit is contained in:
parent
035a430470
commit
14b9f5affc
@ -728,7 +728,8 @@ namespace memfs
|
||||
if (0 != (NewFileNode.FileInfo.FileAttributes & (UInt32)FileAttributes.Directory))
|
||||
return STATUS_ACCESS_DENIED;
|
||||
}
|
||||
if (null != NewFileNode)
|
||||
|
||||
if (null != NewFileNode && FileNode != NewFileNode)
|
||||
FileNodeMap.Remove(NewFileNode);
|
||||
|
||||
List<String> DescendantFileNames = new List<String>(FileNodeMap.GetDescendantFileNames(FileNode));
|
||||
|
Loading…
x
Reference in New Issue
Block a user