delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/15/06:01:48

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 15 Apr 2009 12:01:16 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [1.7] cygpath broken?
Message-ID: <20090415100116.GK15443@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT OSF DOT 4 DOT 63 DOT 0904142231250 DOT 1628483 AT guanine DOT cgl DOT ucsf DOT edu> <20090415084712 DOT GJ15443 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20090415084712.GJ15443@calimero.vinschen.de>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019