Ken Williams <[EMAIL PROTECTED]> writes: >On Jul 6, 2005, at 11:29 AM, Michael G Schwern via RT wrote: > >> [tomdinger - Tue Feb 24 10:15:24 2004]: >>> Under Windows (using File::Spec::Win32), the call >>> File::Spec->canonpath('a\\..\\..\\b\\c') returns the wrong value: >>> 'b\\c'. >>> It should return '..\\b\\c'. >> >> Hey Ken, want to have a look at this? There's a patch and everything! >> > >If Win32 is going to be handled like Unix, then it should return the >input verbatim (".." is not cleaned up). Is there a reason it should >be different on Win32?
Without (sym)links Win32 has simpler .. semantics than Unix. But there are still pitfalls crossing "mount" points. > > -Ken