Re: Possible error in cygpath

2002-05-20 Thread Joerg R. Schaible
Hi Corinna, > Two problems: > > - If it doesn't fix the 8.3 directories in path it's not really > a patch. > - This is a big change so we would need a copyright assignment > from you (http://cygwin.com/contrib.html). since Mark seems not to implement the necessary functionality, I've done it

Re: Possible error in cygpath

2002-05-17 Thread Corinna Vinschen
On Thu, May 16, 2002 at 05:10:31PM -0400, Mark Blackburn wrote: > Here's my patch but it its kinda > half-assed (I don't think it restores 8.3 directories in the path, just > the file) and flaky (it sometimes truncates the filename). Oh and sorry > about the extraneous fprintf(stderr,...)'s. Two

Re: Possible error in cygpath

2002-05-16 Thread Mark Blackburn
On Wed, 15 May 2002, Joerg R. Schaible wrote: > Hi Corinna, > > "Corinna Vinschen" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On Wed, May 15, 2002 at 11:44:51AM +0200, Schaible, Jorg wrote: > > > The reason why I just implemented -s (in 1999)

Re: Possible error in cygpath

2002-05-15 Thread Corinna Vinschen
On Wed, May 15, 2002 at 09:34:42PM +0100, Sam Edge wrote: > Jorg Schaible wrote in > <[EMAIL PROTECTED]> > in gmane.os.cygwin on Wed, 15 May 2002 11:44:51 +0200: > > > If we have to be Win95-compatible still > > Please don't consider dropping 95 and NT4 support just yet! There are > still plenty

Re: Possible error in cygpath

2002-05-15 Thread Sam Edge
Jorg Schaible wrote in <[EMAIL PROTECTED]> in gmane.os.cygwin on Wed, 15 May 2002 11:44:51 +0200: > If we have to be Win95-compatible still Please don't consider dropping 95 and NT4 support just yet! There are still plenty of us running these OSes for all sorts of reasons. -- Sam Edge -- Unsu

Re: Possible error in cygpath

2002-05-15 Thread Joerg R. Schaible
Hi Corinna, "Corinna Vinschen" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Wed, May 15, 2002 at 11:44:51AM +0200, Schaible, Jorg wrote: > > The reason why I just implemented -s (in 1999) was that GetLongPathName is > > not available for Win95. If w

Re: Possible error in cygpath

2002-05-15 Thread Corinna Vinschen
On Tue, May 14, 2002 at 03:08:12PM -0400, Mark Blackburn wrote: > I forgot to mention that there are a total of 4 places where > GetShortPathName is used > Lines 92 110 131 144 > The same problem appears in all places. Aaargh! Thanks again. I've applied the same patch in all places. Corinna -

Re: Possible error in cygpath

2002-05-15 Thread Corinna Vinschen
On Wed, May 15, 2002 at 11:44:51AM +0200, Schaible, Jorg wrote: > The reason why I just implemented -s (in 1999) was that GetLongPathName is > not available for Win95. If we have to be Win95-compatible still, you will > have to load the function yourself directly form the DLL and use > FindFirstFi

RE: Possible error in cygpath

2002-05-15 Thread Schaible, Jorg
Hi Mark, >The spot where it says: > DWORD len = GetShortPathName (filename, NULL, 0); > if (len == ERROR_INVALID_PARAMETER) Ups. :) >By the way I noticed this while I was trying to add a -l >option to cygpath >which is similar to the -s option but it will convert a >muddled 8.3 name >like

Re: Possible error in cygpath

2002-05-14 Thread Mark Blackburn
I forgot to mention that there are a total of 4 places where GetShortPathName is used Lines 92 110 131 144 The same problem appears in all places. On Tue, 14 May 2002, Corinna Vinschen wrote: > On Tue, May 14, 2002 at 10:44:20AM -0400, Mark Blackburn wrote: > > In cygpath.cc there is a function

Re: Possible error in cygpath

2002-05-14 Thread Corinna Vinschen
On Tue, May 14, 2002 at 10:44:20AM -0400, Mark Blackburn wrote: > In cygpath.cc there is a function that goes like this: Thanks for the heads up. I've checked in a patch. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer