delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/02/10/15:32:00

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=EOpN2tWBUbgCGsHdTklB6AhqtnzGM
L/q4l05lNQ8muLiV2qVEZzMBM/HC33/G3SpSqhH/oOhS2ocmneYeg6ofhwrA1MgU
9Btw5aFRmv+bV8QvwKhcToCm08NwA7DZI2I1QT4jplRFTmMnCgRBUcykvoN/zr8L
FS/jLoI7uKD6x8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=L8sOk9cQrndVy6sZVG9qwOlCVwY=; b=tYZ
2UWzk+wXR5YRSFEnkCYDsboUmiGu1K1cNL4oIFw4O5I4CefS5PZrDdE6JrWmx+R3
yX1AFk4SYQDM5FMy+XmlQt/67bk1175yAZ8rPo66tI90BpbKBf7/NAPpl3o6Mlxn
TdS3dCzEY4LPNujtCv2b7nFDOk9mz1Cz4h7vyivU=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.4 required=5.0 tests=BAYES_00,CYGWIN_OWNER_BODY,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:1331, W, w, D*ru
X-HELO: esa7.dell-outbound.iphmx.com
From: "Gluszczak, Glenn" <Glenn DOT Gluszczak AT dell DOT com>
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd51.lss.emc.com v1AKVO7V013388
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd51.lss.emc.com v1AKVO7V013388
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: cygpath
Date: Fri, 10 Feb 2017 20:31:14 +0000
Message-ID: <91DCAC3CB99C724EB365BB64677FBE7B139B3A@MX204CL04.corp.emc.com>
References: <91DCAC3CB99C724EB365BB64677FBE7B139A86 AT MX204CL04 DOT corp DOT emc DOT com> <151946397 DOT 20170210223617 AT yandex DOT ru> <91DCAC3CB99C724EB365BB64677FBE7B139AF9 AT MX204CL04 DOT corp DOT emc DOT com>
In-Reply-To: <91DCAC3CB99C724EB365BB64677FBE7B139AF9@MX204CL04.corp.emc.com>
MIME-Version: 1.0
X-Sentrion-Hostname: mailusrhubprd04.lss.emc.com
X-RSA-Classifications: public
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id v1AKVxEE025141

Sorry, I forgot the user I log in as is switching to cmd.exe.

This doesn't happen in sh or tcsh, so it is probably a non-issue.



-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Gluszczak, Glenn
Sent: Friday, February 10, 2017 3:04 PM
To: cygwin AT cygwin DOT com
Subject: RE: cygpath

* is a legal character for ls but perhaps not cygpath?  I don't know.
No files or directories are using * in the name. 

Not sure about incorrect terminal settings as I never touched any.  
It shows up in mintty and ssh equally. The characters that appear vary.

Some non-existent paths do *not* produce the gibberish.

%%%cygpath -w /aaa/bbb/*
C:\cygwin\aaa\bbb\



-----Original Message-----
From: Andrey Repin [mailto:anrdaemon AT yandex DOT ru] 
Sent: Friday, February 10, 2017 2:36 PM
To: Gluszczak, Glenn; cygwin AT cygwin DOT com
Subject: Re: cygpath

Greetings, Gluszczak, Glenn!

> Isn’t this a defect in cygpath?  Looks like memory corruption.

> %%%cygpath -w /usr/non-existent/*
> C:\cygwin\usr\non-existent\�[W��

Looks more like private character space combined with incorrect terminal setup.

See http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-specialchars


-- 
With best regards,
Andrey Repin
Friday, February 10, 2017 22:33:18

Sorry for my terrible english...

--
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