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 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: <20090415084712 DOT GJ15443 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/