[PATCH v9 1/2] ntdll: Strip trailing slashes after looking up unix name.

Gabriel Ivăncescu gabrielopcode at gmail.com
Fri Apr 30 07:56:42 CDT 2021


On 29/04/2021 19:58, Alexandre Julliard wrote:
> Gabriel Ivăncescu <gabrielopcode at gmail.com> writes:
> 
>> As they are useless anyway, and have inconsistencies, plus not useful
>> to new code that assumes there's not any on the unix side. See:
>> https://www.winehq.org/pipermail/wine-devel/2021-April/185850.html
> 
> Actually, trailing slashes are in general not allowed on NT names, we
> have some todo tests about that. A single trailing slash on a directory
> name is OK, and I think your code should deal with that.
> 

What about unix names? I'm only stripping it from unix names.

If so, should I handle any amount of trailing slashes on unix names, or 
just one?



More information about the wine-devel mailing list