public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygcheck.exe: duplicate path and other entries when run from an SSH session
@ 2016-05-27 22:02 Alain Kalker
  2016-05-30  9:27 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Alain Kalker @ 2016-05-27 22:02 UTC (permalink / raw)
  To: cygwin

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
         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.

Kind regards,

Alain

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cygcheck.exe: duplicate path and other entries when run from an SSH session
  2016-05-27 22:02 cygcheck.exe: duplicate path and other entries when run from an SSH session Alain Kalker
@ 2016-05-30  9:27 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2016-05-30  9:27 UTC (permalink / raw)
  To: cygwin

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-30  8:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-27 22:02 cygcheck.exe: duplicate path and other entries when run from an SSH session Alain Kalker
2016-05-30  9:27 ` Corinna Vinschen

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).