This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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@yandex.ru] 
Sent: Friday, February 10, 2017 2:36 PM
To: Gluszczak, Glenn; cygwin@cygwin.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...

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]