mirror of
https://github.com/winfsp/winfsp.git
synced 2026-11-06 00:56:03 -06:00
tst: memfs-dotnet: fix rename_caseins_test
This commit is contained in:
1 parent
035a430470
commit
14b9f5affc
1 file changed
+2
-1
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user