This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [1.7] cygpath broken?


On Apr 15 10:47, Corinna Vinschen wrote:
> On Apr 14 23:20, Greg Couch wrote:
> > I'm seeing some really weird behavior with cygpath in cygwin 1.7 on Vista 
> > Home Premium.  For instance, if I'm in my home directory and there's an  
> > image.png file in it:
> >
> > 	$ ls -l image.png
> > 	-rwxrwxrwx 1 gregc None 6211 Apr  5 16:00 image.png
> > 	$ cygpath -u image.png
> > 	image.png
> > 	$ cygpath -ua image.png
> > 	/home/gregc/image.png
> > 	$ cygpath -m image.png
> >
> > 	$ cygpath -ma image.png
> > 	C:/cygwin/home/gregc/image.png
> > 	$ cygpath -w image.png
> >
> > 	$ cygpath -wa image.png
> > 	C:\cygwin\home\gregc\image.png
> >
> > So cygpath -m and -w are returning empty lines.  Is anyone else seeing
> > this behavior?
> 
> Yes, getting relative windows paths is definitely broken.  I'm surprised
> that this hasn't been found earlier.  I'll look into a patch.

Fixed in CVS.


Thanks again,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]