X-Spam-Check-By: sourceware.org Date: Mon, 12 Feb 2007 18:36:13 +0100 From: Corinna Vinschen 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 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 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/