cygcheck.exe: duplicate path and other entries when run from an SSH session

Alain Kalker a.c.kalker@gmail.com
Fri May 27 22:02:00 GMT 2016


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



More information about the Cygwin mailing list