This is the mail archive of the
mailing list for the Cygwin project.
Re: too many environment variables on self-compiled xar archiver
On 2017-05-24 15:18, Hans-Bernhard Bröker wrote:
> Am 24.05.2017 um 12:01 schrieb Andrey Repin:
>>> Did you notice this entry and does anyone know where this comes from?
>> This is coming from CMD, and denotes current working directory on an
> And for (most of) all the hairy details, see
> If you see these, you must have printed the environment using a tool
> other than CMD itself (e.g. Cygwin's "env").
Or as comment
says, in cmd type
to see all environment variables including those starting with "=".
So the above is Cygwin "cleaning" the inherited cmd environment which
contains =<d>:=<d>:\<wd> for each mapped drive, and some other legacy
compatible information, by changing the leading "=" to "!", so it can
restore it for child process environments.
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple