public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: cygcheck.exe: duplicate path and other entries when run from an SSH session
Date: Mon, 30 May 2016 09:27:00 -0000	[thread overview]
Message-ID: <20160530083237.GD12694@calimero.vinschen.de> (raw)
In-Reply-To: <935c1612-d38f-0f86-0183-e1c794f8d1cb@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1697 bytes --]

On May 27 20:00, Alain Kalker wrote:
> When I run `cygcheck -s -v -r > cygcheck.out` when connecting via SSH, the
> resulting file shows a duplicate path entry as well as other duplicate
> entries.
> 
> Steps to reproduce:
> 
> - Locally in a Cygwin Terminal, run: `cygcheck -s -v -r > cygcheck1.out`
> - Connect via SSH to the machine with Cygwin installed: `ssh user@cygwinbox`
> - In the SSH session: run `cygcheck -s -v -r > cygcheck2.out`
> - Compare: `diff -u cygcheck{1,2}.out`
> 
> A snippet of the output from `diff -u cygcheck{1,2}.out` on my system:
> 
> --[snip]--
> --- cygcheck1.out       2016-05-27 19:52:12.442102521 +0200
> +++ cygcheck2.out       2016-05-27 19:52:12.525435198 +0200
> @@ -1,30 +1,24 @@
> 
>  Cygwin Configuration Diagnostics
> -Current System Time: Fri May 27 17:52:52 2016
> +Current System Time: Fri May 27 17:53:18 2016
> 
>  Windows 10 Home Ver 10.0 Build 10586
> 
>  Path:  C:\cygwin64\usr\local\bin
>         C:\cygwin64\bin
> +       C:\cygwin64\bin

In Cygwin, /bin and /usr/bin point to the same directory.  If you have
both in $PATH, they translate to the same Windows dir.

>         C:\WINDOWS\system32
>         C:\WINDOWS
>         C:\WINDOWS\System32\Wbem
>         C:\WINDOWS\System32\WindowsPowerShell\v1.0
> --[snip]--
> 
> As an aside: it would be nice if the list of environment variables in
> cygcheck output were sorted, this makes it easier to spot differences
> between runs.

Sure, why not.  Does somebody want to provide a patch?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

      reply	other threads:[~2016-05-30  8:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-27 22:02 Alain Kalker
2016-05-30  9:27 ` Corinna Vinschen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160530083237.GD12694@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).