[PATCH resend] ntdll: Allow renaming a file/directory to a different case of itself.
Alexandre Julliard
julliard at winehq.org
Tue Jul 27 15:31:07 CDT 2021
Gabriel Ivăncescu <gabrielopcode at gmail.com> writes:
> @@ -3426,6 +3426,64 @@ NTSTATUS nt_to_unix_file_name( const OBJECT_ATTRIBUTES *attr, char **name_ret, U
> }
>
>
> +/***********************************************************************
> + * nt_to_unix_file_name_with_case
> + *
> + * Same as nt_to_unix_file_name, but additionally return unix file name
> + * without path, with the actual case from the NT name's last component.
> + */
> +static NTSTATUS nt_to_unix_file_name_with_case( const OBJECT_ATTRIBUTES *attr, char **name_ret,
> + char **case_ret, UINT disposition )
I still don't see any reason for this to be a wrapper around
nt_to_unix_file_name(). What it does is unrelated, it should be a
separate helper function.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list