* 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/*
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/*
Looks more like private character space combined with incorrect terminal setup.
With best regards,
Friday, February 10, 2017 22:33:18
Sorry for my terrible english...