X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 15 Apr 2009 10:47:12 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [1.7] cygpath broken? Message-ID: <20090415084712.GJ15443@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 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. Thanks for the report, 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/