mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-07 20:42:09 -05:00
dll: fuse: allow rename for filenames that differ only in case
This commit is contained in:
parent
dae4bad732
commit
36f0978971
@ -1500,7 +1500,8 @@ static NTSTATUS fsp_fuse_intf_Rename(FSP_FILE_SYSTEM *FileSystem,
|
||||
STATUS_OBJECT_PATH_NOT_FOUND != Result)
|
||||
return Result;
|
||||
|
||||
if (NT_SUCCESS(Result))
|
||||
if (NT_SUCCESS(Result) &&
|
||||
(f->VolumeParams.CaseSensitiveSearch || 0 != invariant_wcsicmp(FileName, NewFileName)))
|
||||
{
|
||||
if (!ReplaceIfExists)
|
||||
return STATUS_OBJECT_NAME_COLLISION;
|
||||
|
Loading…
x
Reference in New Issue
Block a user