delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/12/08/15:50:53

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7B3D53844079
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=yandex.ru
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=anrdaemon AT yandex DOT ru
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
t=1607460601; bh=2QQ566djaNIYPzjXkMUgQM0ybFu0zgtJojwJ/UjgXxk=;
h=In-Reply-To:Subject:To:From:Message-ID:References:Date:Reply-To;
b=qv9HiHq5GeyjxKfsrYtVGqEObpyoXfEDh+bxtUy9yE+7lpVJ3r0eYyvQdIbhmZXhC
d8wMm3fVP4/B/3+sbXLW4wZ5CzrrMJy2DK7PFh1cc5tMlQ6vj+tM0pr7oaqEqrWAof
MPFO16b6RwwqA0ZXQxOLq7Vy2ia57wXQbg+p9vmk=
Authentication-Results: mxback16j.mail.yandex.net;
dkim=pass header.i=@yandex.ru
Date: Tue, 8 Dec 2020 23:41:34 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v6.8.8) Home
X-Priority: 3 (Normal)
Message-ID: <1974889028.20201208234134@yandex.ru>
To: Eric Connor <eacmacro AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: Possible vim bug
In-Reply-To: <CADZZWXoHVFPh1D3kDh5u9-0d2B5RvrFSvtFndq5mhNV3DcCUoQ@mail.gmail.com>
References: <CADZZWXp-KUVXbkCE3bk2pusyAVS+yTbuPYs6k9+kt4aFZkWTow AT mail DOT gmail DOT com>
<5f939f35-fdd5-740d-d9b4-06ffdf0ac26a AT SystematicSw DOT ab DOT ca>
<CADZZWXoHVFPh1D3kDh5u9-0d2B5RvrFSvtFndq5mhNV3DcCUoQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Greetings, Eric Connor!

> I'm not at liberty to share my path, due to the sensitivity of my position,
> but it *does *include /usr/bin, and it's the second entry in the value.

If I were you, I'd remove /usr/bin from $PATH.

$ echo "$PATH" | sed -Ee 's/\:/\n/g;'
$HOME/bin
/usr/local/sbin
/usr/sbin
/sbin
/usr/local/bin
/bin
/c/Windows/system32
/c/Windows
/c/Windows/System32/Wbem
/c/Windows/System32/WindowsPowerShell/v1.0
/c/Program Files/WinRAR
/c/Program Files/7-Zip
/c/DrWeb
/c/Programs/VirtualBox
/c/usr/util
/c/usr/ARH
/c/Programs/Subversion/bin
/c/Programs/PuTTY

Rationale being that Cygwin programs deduce setup layout from the first start,
and some programs make wild assumptions about directory layout.
I've seen quite the behavior happening from crossing these two consequences,
when Cygwin took /usr/ for the root of the installation, and one of the
programs tried to find something under /usr/usr/include/.


-- 
With best regards,
Andrey Repin
Tuesday, December 8, 2020 23:33:16

Sorry for my terrible english...

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

- Raw text -


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