From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 126515 invoked by alias); 27 May 2016 18:00:33 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 126500 invoked by uid 89); 27 May 2016 18:00:33 -0000 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 Received: from mail-wm0-f46.google.com (HELO mail-wm0-f46.google.com) (74.125.82.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 27 May 2016 18:00:31 +0000 Received: by mail-wm0-f46.google.com with SMTP id n129so2391675wmn.1 for ; Fri, 27 May 2016 11:00:31 -0700 (PDT) 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) Received: from [192.168.1.114] (524B56FB.cm-4-4b.dynamic.ziggo.nl. [82.75.86.251]) by smtp.googlemail.com with ESMTPSA id q76sm9689699wmd.6.2016.05.27.11.00.28 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 May 2016 11:00:28 -0700 (PDT) To: cygwin@cygwin.com From: Alain Kalker 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 22:02:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-05/txt/msg00354.txt.bz2 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