mirror of
https://github.com/winfsp/winfsp.git
synced 2025-12-27 06:19:48 -06:00
sys,dll: support file name normalization
This commit is contained in:
@@ -699,6 +699,11 @@ static RTL_GENERIC_COMPARE_RESULTS NTAPI FspFsvolDeviceCompareContextByName(
|
||||
PUNICODE_STRING SecondFileName = *(PUNICODE_STRING *)SecondElement;
|
||||
LONG ComparisonResult;
|
||||
|
||||
/*
|
||||
* Since FileNode FileName's are now always normalized, we could perhaps get away
|
||||
* with using CaseInsensitive == FALSE at all times. For safety reasons we avoid
|
||||
* doing so here.
|
||||
*/
|
||||
ComparisonResult = FspFileNameCompare(FirstFileName, SecondFileName, CaseInsensitive, 0);
|
||||
|
||||
if (0 > ComparisonResult)
|
||||
|
||||
Reference in New Issue
Block a user