Re: cygwin_conv_path sometimes removes trailing slash

2016-02-15 Thread Corinna Vinschen
Hi Ken, On Feb 14 14:08, Ken Brown wrote: > On 1/29/2016 10:21 PM, Ken Brown wrote: > >I'm using cygwin_conv_path to convert Win32 paths to POSIX paths, and > >I'm puzzled by the conversion > > > > d:/ --> /cygdrive/d > > > >without the trailing slash. > > Hi Corinna, > > After your recent

Re: cygwin_conv_path sometimes removes trailing slash

2016-02-14 Thread Ken Brown
On 1/29/2016 10:21 PM, Ken Brown wrote: I'm using cygwin_conv_path to convert Win32 paths to POSIX paths, and I'm puzzled by the conversion d:/ --> /cygdrive/d without the trailing slash. Hi Corinna, After your recent patch (git commit 8b83da2), I now see the conversion d:/ -->

Re: cygwin_conv_path sometimes removes trailing slash

2016-02-11 Thread Ray Donnelly
On Mon, Feb 8, 2016 at 6:13 PM, Corinna Vinschen wrote: > Hi Ray, > Hi Corinna, Sorry for the delay, I've been snowed under with day-job things lately. > On Jan 31 22:17, Ray Donnelly wrote: >> On Sun, Jan 31, 2016 at 11:38 AM, Jan Nijtmans

Re: cygwin_conv_path sometimes removes trailing slash

2016-02-08 Thread Corinna Vinschen
Hi Ray, On Jan 31 22:17, Ray Donnelly wrote: > On Sun, Jan 31, 2016 at 11:38 AM, Jan Nijtmans wrote: > > 2016-01-30 4:21 GMT+01:00 Ken Brown: > >> I'm using cygwin_conv_path to convert Win32 paths to POSIX paths, and I'm > >> puzzled by the conversion > >> > >> d:/ -->

Re: cygwin_conv_path sometimes removes trailing slash

2016-02-01 Thread Henri
Henri xs4all.nl> writes: > For the record ... > > - Ken Brown refers to: win32 -> posix > - Jan Nijthuis and Ray Donnelly refer to: posix -> win32 > > Different code paths ... > > (and yes, conversions in both directions should be correct) s/Nijthuis/Nijtmans/ Sigh. Henri -- Problem

Re: cygwin_conv_path sometimes removes trailing slash

2016-02-01 Thread Ray Donnelly
On Mon, Feb 1, 2016 at 10:29 AM, Henri wrote: > Jan Nijtmans gmail.com> writes: > >> >> 2016-01-30 4:21 GMT+01:00 Ken Brown: >> > I'm using cygwin_conv_path to convert Win32 paths to POSIX paths, and I'm >> > puzzled by the conversion >> > >> > d:/ --> /cygdrive/d >> > >> >

Re: cygwin_conv_path sometimes removes trailing slash

2016-02-01 Thread Henri
Jan Nijtmans gmail.com> writes: > > 2016-01-30 4:21 GMT+01:00 Ken Brown: > > I'm using cygwin_conv_path to convert Win32 paths to POSIX paths, and I'm > > puzzled by the conversion > > > > d:/ --> /cygdrive/d > > > > without the trailing slash. By contrast, we have > > > > d:/foo/ -->

Re: cygwin_conv_path sometimes removes trailing slash

2016-02-01 Thread Henri
Ray Donnelly gmail.com> writes: > I can't check as I'm at work, but to the best of my knowledge (and yes > I wrote these a long time ago) path_conv::check is used in conversions > both ways so I am talking about both cases here, Jan's with the first > patch and Ken's with the second patch.

Re: cygwin_conv_path sometimes removes trailing slash

2016-01-31 Thread Ray Donnelly
On Sun, Jan 31, 2016 at 11:38 AM, Jan Nijtmans wrote: > 2016-01-30 4:21 GMT+01:00 Ken Brown: >> I'm using cygwin_conv_path to convert Win32 paths to POSIX paths, and I'm >> puzzled by the conversion >> >> d:/ --> /cygdrive/d >> >> without the trailing slash. By

Re: cygwin_conv_path sometimes removes trailing slash

2016-01-31 Thread Ray Donnelly
On Sun, Jan 31, 2016 at 10:17 PM, Ray Donnelly wrote: > On Sun, Jan 31, 2016 at 11:38 AM, Jan Nijtmans wrote: >> 2016-01-30 4:21 GMT+01:00 Ken Brown: >>> I'm using cygwin_conv_path to convert Win32 paths to POSIX paths, and I'm >>> puzzled by the

Re: cygwin_conv_path sometimes removes trailing slash

2016-01-31 Thread Jan Nijtmans
2016-01-30 4:21 GMT+01:00 Ken Brown: > I'm using cygwin_conv_path to convert Win32 paths to POSIX paths, and I'm > puzzled by the conversion > > d:/ --> /cygdrive/d > > without the trailing slash. By contrast, we have > > d:/foo/ --> /cygdrive/d/foo/ This came up before:

cygwin_conv_path sometimes removes trailing slash

2016-01-29 Thread Ken Brown
I'm using cygwin_conv_path to convert Win32 paths to POSIX paths, and I'm puzzled by the conversion d:/ --> /cygdrive/d without the trailing slash. By contrast, we have d:/foo/ --> /cygdrive/d/foo/ Is the removal of the trailing slash in the first example a deliberate design decision?