From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 57107 invoked by alias); 28 Apr 2015 14:32:11 -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 57098 invoked by uid 89); 28 Apr 2015 14:32:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.6 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: etr-usa.com Received: from etr-usa.com (HELO etr-usa.com) (130.94.180.135) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 28 Apr 2015 14:32:10 +0000 Received: (qmail 82631 invoked by uid 13447); 28 Apr 2015 14:32:08 -0000 Received: from unknown (HELO polypore.west.etr-usa.com) ([73.26.17.49]) (envelope-sender ) by 130.94.180.135 (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 28 Apr 2015 14:32:08 -0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: bug: cygwin 2.0 doesn't work at all From: Warren Young In-Reply-To: Date: Tue, 28 Apr 2015 14:32:00 -0000 Content-Transfer-Encoding: quoted-printable Message-Id: <3DAAAC49-0B01-4B64-B983-BC0B374B15B1@etr-usa.com> References: To: The Cygwin Mailing List X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00609.txt.bz2 On Apr 28, 2015, at 3:57 AM, Leonid Mironov wrote: >=20 > Upgrading cygwin package to 2.0 broke [almost] all programs using cygwin1= .dll WJJFM on Windows 10, both word sizes. > c:\cygwin\bin > C:\Windows\system32 > C:\Windows > C:\Windows\System32\Wbem > C:\Windows\System32\WindowsPowerShell\v1.0\ > C:\Oracle\product\11.2.0\client_1\bin > c:\util > c:\batch > c:\util\tccle > c:\util\sysinternals > . > C:\util\winMerge > c:\cygwin\bin > c:\util > c:\util\sysinternals > C:\ProgramData\Oracle\Java\javapath > c:\cygwin\bin > C:\Windows\system32 > C:\Windows > C:\Windows\System32\Wbem > C:\Windows\System32\WindowsPowerShell\v1.0\ > C:\Oracle\product\11.2.0\client_1\bin > c:\util > c:\batch > c:\util\tccle > c:\util\sysinternals > . > C:\util\winMerge I doubt this is the real problem, but there are some problems here: 1. Something is duplicating whole sections of the PATH. The Cygwin bin dir= ectory appears three times! 2. You should never put . in the PATH. Native Windows shells already behav= e as if . is in the PATH without needing it to be explicitly present, and U= nix systems never ship with . in the PATH, for security reasons. Get into = the habit of saying =E2=80=9C./myprogram=E2=80=9D when running something in= the local directory instead. 3. If you ran cygcheck from a cmd.exe shell, that means you=E2=80=99ve put = the Cygwin bin directory into the native PATH. While this can be the right= thing in some circumstances, there are enough problems with it that it=E2= =80=99s worth reconsidering.=20 (One case in point is warned about by cygcheck: Cygwin programs shadowing n= ative programs like find.exe.) -- 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