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