tst: memfs-dotnet: ReadDirectoryEntry: properly handle Marker

This commit is contained in:
Bill Zissimopoulos 2017-05-09 17:49:43 -07:00
parent 0ebae0adc1
commit d18a2c8b75

View File

@ -172,7 +172,7 @@ namespace memfs
MaxName = FileNode.FileName + "]";
}
if (null != Marker)
MinName = FileNode.FileName + Marker;
MinName += Marker;
foreach (String Name in Set.GetViewBetween(MinName, MaxName))
if (Name != MinName &&
Name.Length > MaxName.Length && -1 == Name.IndexOfAny(Delimiters, MaxName.Length))