www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/26/09:59:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,TW_YG,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Thu, 26 Aug 2010 09:59:08 -0400
Message-ID: <AANLkTi=jtGKq0C4CLdMKp3fZk6wftJP16axR422E+EKi@mail.gmail.com>
Subject: Possible Regression in cygpath
From: Matt Hughes <hughes DOT matt AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Prior to the latest release of cygwin (which translates to cygpath
version 1.6.1), the following command worked fine:

cygpath -d .

With the latest release of cygwin (which translates to cygpath version
1.8 I believe; the build was ~ August 10th), the same command
complains:

"cygpath: cannot create short name of ."

However, if I execute:

cygpath -d --absolute .

it works as expected.  It appears that in the latest release, cygpath
either requires that "--absolute" flag, or requires the path that is
passed in to be absolute.  Was this an intentional change?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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