www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <000501c6b19f$96ea9430$6600a8c0@MTBMobil> |
From: | "Matthias Bolz" <Matthias DOT Bolz AT t-online DOT de> |
To: | <cygwin AT cygwin DOT com> |
Subject: | cygwin-1.5.21: cygpath -w --long-name scrambles non-existing filename |
Date: | Thu, 27 Jul 2006 19:10:40 +0200 |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Outlook Express 6.00.2800.1807 |
X-ID: | Gz3KhkZfQedT6V0X4tM5jq81SI8+nOCDucoUTRWznEinYqWG4TqHwz |
X-TOI-MSGID: | 23ee6579-2aba-41a7-ae7f-a124fec1a00a |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Hi, after updating from cygwin 1.5.19-4 to 1.5.21-1 cygpath seems to show a bug when called with the --long-name (or -l) option: Assuming that the filename "12345678901234567890" does NOT exist in the current dir, cygpath shows the following output: $ cygpath -m -l 12345678901234567890 123456789012# $ cygpath -w -l 12345678901234567890 123456789012xx 7890 ^^ not printable characters $ cygpath -w 12345678901234567890 12345678901234567890 $ cygpath -u 12345678901234567890 12345678901234567890 $ touch 12345678901234567890 $ cygpath -w -l 12345678901234567890 12345678901234567890 $ rm 12345678901234567890 $ cygpath -w -l 12345678901234567890 123456789012xx 7890 ^^ not printable characters i.e., as long as the file name does not exist and exceeds a certain length, it gets scrambled with the -l option. Without the -l option, in posix format, or if the file exists, the output is fine. Can you confirm this bug? Is there a workaround? Matthias. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |