Web lists-archives.com

RE: cygpath




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@xxxxxxxxxx [mailto:cygwin-owner@xxxxxxxxxx] On Behalf Of Gluszczak, Glenn
Sent: Friday, February 10, 2017 3:04 PM
To: cygwin@xxxxxxxxxx
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@xxxxxxxxx] 
Sent: Friday, February 10, 2017 2:36 PM
To: Gluszczak, Glenn; cygwin@xxxxxxxxxx
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...