delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/05/27/14:00:47

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=X2N
Tn0El5n7OEsBSDol8guk2CVj9sKjDxe4Jtp8hOZO2WbAebWBPf8JPN7uIDvdGe6S
6Vsa/EDclylZS7DorlUZUNTd30L2kKR8CMzNzKj4ifumvUTlqCJfUa08E9LfLiNf
jNnAtueWU6GQLSgHFjR6nH8j88C1adntYnWki7CA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=UKwygrFKX
0obAFm7zqwxzVA/6yA=; b=D0gVDjgjpHpKxAIYB4ZEM7FbsUkvNFtRduFgNKjj7
T51RqA9l6I6Qu23+AkN5SIiq9h90QvmBwCTJBqOeT0YAcy8eBXU4KltS/TZJvzrX
DCaS+5Suc5rD6ZzxdBet6mclq5uWPzmNAfBb54zmyMj5nlbp78lXdQH/Efx5gkNj
jA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=1,30, cygcheckout, cygcheck.out, UD:cygcheck.out
X-HELO: mail-wm0-f46.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=tI26rM6q+FSAjd7l+r22v4w6Ty3eHcWpCCbXPV5pEYA=; b=dt3jTaF1F19fFpHhgWu/NtWcSbrDHaImOEDerv/MSJJDLfoYIv0vwJlrcztEqkJ545 dOPYD7O80cv1sfSNAuuNULQgV6gn8eoS/Hl1SIbjTyuYfzPSoV2ECRdhBNvgTdRLWWTZ IqmQpXpBtp9csv28Zalt1nnzfB8ba+2J7KHJMQ0HXcrQGhL6OFMAY7SeAIpEH1gNTL/T Z3igfMhL+kjuk79enivHcE78eyiswz/+j3TtWl/p8hX6dzVxRF2KolG3VGOUG2JPk32s 5TIUmRhf+0GWvwwfkwgDsGHadoKb0EbfsO97MBwLTLhs8RavLEcRuihqORQPWQQCodY7 W8/A==
X-Gm-Message-State: ALyK8tKtLdYylXMHbEfBnlGfW+4bF/qFvmsqSXm22Zii0rYwdjF+/w1sk0Frkow9wDciJw==
X-Received: by 10.28.221.136 with SMTP id u130mr10021124wmg.44.1464372028853; Fri, 27 May 2016 11:00:28 -0700 (PDT)
To: cygwin AT cygwin DOT com
From: Alain Kalker <a DOT c DOT kalker AT gmail DOT com>
Subject: cygcheck.exe: duplicate path and other entries when run from an SSH session
Message-ID: <935c1612-d38f-0f86-0183-e1c794f8d1cb@gmail.com>
Date: Fri, 27 May 2016 20:00:27 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0
MIME-Version: 1.0
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019