RFC: Reparse Point/NT Symlink Support [3]

Zebediah Figura (she/her) zfigura at codeweavers.com
Tue Aug 31 11:52:40 CDT 2021


On 8/31/21 11:33 AM, Erich E. Hoover wrote:
> On Tue, Aug 31, 2021 at 10:29 AM Zebediah Figura (she/her)
> <zfigura at codeweavers.com> wrote:
>> ...
>> Wait, but by the time we do path resolution, aren't we guaranteed to
>> have an absolute path that's free of . or ..? I thought that
>> RtlDosPathNameToNtPathName() got rid of all of those for us.
> 
> Yes, that's part of the problem - if you resolve the path to the
> absolute location then ".." brings you to the parent of the symlink
> target.

Is there a problem with collapse_path(), or is it just a matter of 
asking for the parent of the current directory? If the latter, wouldn't 
it just be a matter of storing the unresolved path in the TEB?



More information about the wine-devel mailing list