delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/12/12:36:47

X-Spam-Check-By: sourceware.org
Date: Mon, 12 Feb 2007 18:36:13 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin-1.5.24-2: cygpath -w --long-name scrambles non-existing filename
Message-ID: <20070212173613.GO4158@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <545b18da0702120845k3754f580q7bd8cc15fa31bc1 AT mail DOT gmail DOT com>
Mime-Version: 1.0
In-Reply-To: <545b18da0702120845k3754f580q7bd8cc15fa31bc1@mail.gmail.com>
User-Agent: Mutt/1.4.2.2i
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 Feb 12 17:45, Bernhard Leiner wrote:
> Hi,
> 
> I experience a problem that has already been reported (and solved)
> several months before:
> 
> http://www.cygwin.com/ml/cygwin/2006-07/msg00861.html
> http://www.cygwin.com/ml/cygwin/2006-07/msg00878.html
> 
> My output:
> 
> $ cygpath -v
> cygpath (cygwin) 1.42
> Compiled on Jan 31 2007
> 
> $ cygpath -w -l 12345678901234
> 123456789012 +  non printable characters
> 
> Can you confirm this bug or is my cygwin environment screwed up?

It's a bug which has been fixed already a couple months ago.  Cygpath
from the developer snapshots won't show this problem.  Unfortunately
I forgot to merge this patch into the latest 1.5.x releases.  As a
workaround, always check for existence before calling cygpath this way.


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