[PATCH v11 1/2] ntdll: Introduce new nt_to_unix_file_name_with_case helper.

Rémi Bernon rbernon at codeweavers.com
Thu May 20 11:56:44 CDT 2021


On 5/20/21 6:40 PM, Alexandre Julliard wrote:
> Gabriel Ivăncescu <gabrielopcode at gmail.com> writes:
> 
>> Which optionally returns the original case of the last path component.
>>
>> Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
>> ---
>>   dlls/ntdll/unix/file.c | 66 +++++++++++++++++++++++++++---------------
>>   1 file changed, 43 insertions(+), 23 deletions(-)
> 
> There doesn't seem to be any need for a new nt_to_unix_file_name
> helper. You can simply copy the last path component separately from the
> Unix name lookup, it doesn't require any file system access.
> 

Sorry, I suggested that to take advantage of the lookup_unix_name path 
decomposition, and to handle the corner cases more easily.
-- 
Rémi Bernon <rbernon at codeweavers.com>



More information about the wine-devel mailing list