Re: [perl #27052] File::Spec->canonpath("a\\..\\..\\b") returns wrong value for Win 32

2005-07-21 Thread Ken Williams
On Jul 19, 2005, at 3:06 AM, Rafael Garcia-Suarez wrote: On 7/12/05, Michael G Schwern via RT <[EMAIL PROTECTED]> wrote: Ok, enough dithering. Let's kill this bug. File::Spec::Win32->canonpath() currently contains code to collapse .. so whether or not it should continue to do so in the futu

Re: [perl #27052] File::Spec->canonpath("a\\..\\..\\b") returns wrong value for Win 32

2005-07-19 Thread Rafael Garcia-Suarez
On 7/12/05, Michael G Schwern via RT <[EMAIL PROTECTED]> wrote: > Ok, enough dithering. Let's kill this bug. > > File::Spec::Win32->canonpath() currently contains code to collapse .. so > whether or not it should continue to do so in the future is outside the > scope of this bug. That code is al

[perl #27052] File::Spec->canonpath("a\\..\\..\\b") returns wrong value for Win 32

2005-07-12 Thread Michael G Schwern via RT
Ok, enough dithering. Let's kill this bug. File::Spec::Win32->canonpath() currently contains code to collapse .. so whether or not it should continue to do so in the future is outside the scope of this bug. That code is also busted and is the source of this bug. Attached is a patch to fix this

Re: [perl #27052] File::Spec->canonpath("a\\..\\..\\b") returns wrong value for Win 32

2005-07-06 Thread John Peacock
Glenn Linderman wrote: So how do Windows' "shortcuts" fit into this? They act a lot like softlinks interactively in Windows Explorer (but not, AFAICT, from the file system)? Shortcuts are an abomination; don't try and support them (AFAIK only Explorer and newer versions of Office can deal wi

Re: [perl #27052] File::Spec->canonpath("a\\..\\..\\b") returns wrong value for Win 32

2005-07-06 Thread Ken Williams
On Jul 6, 2005, at 2:50 PM, Michael G Schwern wrote: On Wed, Jul 06, 2005 at 02:06:19PM -0500, Ken Williams wrote: 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\

Re: [perl #27052] File::Spec->canonpath("a\\..\\..\\b") returns wrong value for Win 32

2005-07-06 Thread Michael G Schwern
On Wed, Jul 06, 2005 at 02:06:19PM -0500, Ken Williams wrote: > 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: > >

Re: [perl #27052] File::Spec->canonpath("a\\..\\..\\b") returns wrong value for Win 32

2005-07-06 Thread Ken Williams
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