DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 49FM0A4S3997336
Authentication-Results: delorie.com;
	dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=fYQLiizG
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E84C73858420
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1729029609;
	bh=ECx8KwCfJXdml7hugnNNcoYZGLdWcEZsUWRNU1BAWNQ=;
	h=Date:To:Cc:Subject:In-Reply-To:References:List-Id:
	 List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
	 From:Reply-To:From;
	b=fYQLiizGXOPE0p08/YNuRHWZEBhBrMiP89dULZ54/27UV+J+Pt/K8rztxzNQpZ4Z2
	 NIxnouFScf7Qu/1/d16i2QQuwVMbqLPjtPVA/X+ErKqAW6GcV0wHpmO7KhFfOOqkyo
	 q193AY/zfNq1/Xs9lA3QRRmud84SqagH+op3VSMk=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 67BC13858D20
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 67BC13858D20
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729029583; cv=none;
 b=tMxiRDuxU2Yu8+1Jf9q1Poo4hd9gIsWN0O31EtrDbIT6SlQs0JpIY4f6Hc3s7DxyzdBUOupfCMyWCw3Mq6V63BWNAcqEORNwqvmf3jHQCexgL3zoXICeO0z/OdwI3tlsC6ryFPtPyeKIKFGjJS50uB3SPo0mKGFAhu8Z/xLGSUA=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1729029583; c=relaxed/simple;
 bh=UCejm/jLtmoNSZL34jSG6qzA+UJtM6IU6ybXc6RFpcg=;
 h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature;
 b=b5ruDfWVYvnn25V1Q5s0oC+TqTNYnPXnL2AI9QaSaRAU1F83GWe0ibAeVX9o0GbRb+Ifl17JyOwFzOk4eF8tjnw+BTPm15RK2FOXLe0FlKdYcB9bQR3bMfM9gOXIQiQacAZy4PHy27LHtlXnAr8TwLX/Dva7NPJFmDWC0tMF/Fg=
ARC-Authentication-Results: i=1; server2.sourceware.org
Date: Wed, 16 Oct 2024 06:59:38 +0900
To: jeff <jeff@jeffunit.com>
Cc: cygwin@cygwin.com
Subject: Re: fresh install, when I run a c++ program I made from a cygterm
 it logs out
Message-Id: <20241016065938.dd5e5d2302ead1b42d29100d@nifty.ne.jp>
In-Reply-To: <1daf78d9-63f2-4358-8d16-e555a9e83cfa@jeffunit.com>
References: <826d4141-c988-4445-b069-17d98deee944@jeffunit.com>
 <20241015042129.bb800cc5f1a7c5d74e78f887@nifty.ne.jp>
 <bba13fdb-2c6c-48ff-93e3-335a02efbe54@jeffunit.com>
 <20241015044037.49cc26f49a4bcc8290b5c2aa@nifty.ne.jp>
 <3e67dacc-248e-4bcf-a26a-972ae93e2a08@jeffunit.com>
 <844a0865-027c-419c-b22c-c05f9016bdfb@jeffunit.com>
 <20241015194842.907f20d6023f745e8f829499@nifty.ne.jp>
 <85266c6e-1a68-4c31-9361-0e2b250691a2@jeffunit.com>
 <20241016000144.9ccbc09ba4a3d7d5ce8dee31@nifty.ne.jp>
 <a96e5412-9c87-4529-ae78-09fe6591c372@jeffunit.com>
 <20241016063405.f5ad0ca26fc30841c5acbb46@nifty.ne.jp>
 <1daf78d9-63f2-4358-8d16-e555a9e83cfa@jeffunit.com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, SPF_HELO_PASS,
 SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Takashi Yano via Cygwin <cygwin@cygwin.com>
Reply-To: Takashi Yano <takashi.yano@nifty.ne.jp>
Content-Type: text/plain; charset="utf-8"
Errors-To: cygwin-bounces~archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 49FM0A4S3997336

On Tue, 15 Oct 2024 14:38:07 -0700
jeff wrote:
> On 10/15/2024 14:34, Takashi Yano wrote:
> > On Tue, 15 Oct 2024 13:09:12 -0700
> > jeff wrote:
> >> /cygdrive/k/pw-crack/fred_john/run/cygwin1.dll
> >> -rwxrwx---+ 1 jdeifik None 3492318 May 26  2019
> > The culprit of the problem is this old cygwin1.dll.
> > Windows searches .dll in the current directory first.

Sorry, Windows searches .dll in the directory where the
.exe is located first. Then searches the current directory
second. After that, the directories in $PATH are searched.

> I understand. Seems like a bug as "." is not in my path.

Therefore, adding '.' into your path does not help.

> If it is a windows thing, I guess nothing can be done about it :-(


-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

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

