delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/10/15/18:00:11

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 AT delorie DOT 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 AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT 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 AT jeffunit DOT com>
Cc: cygwin AT cygwin DOT 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 AT jeffunit DOT com>
<20241015042129 DOT bb800cc5f1a7c5d74e78f887 AT nifty DOT ne DOT jp>
<bba13fdb-2c6c-48ff-93e3-335a02efbe54 AT jeffunit DOT com>
<20241015044037 DOT 49cc26f49a4bcc8290b5c2aa AT nifty DOT ne DOT jp>
<3e67dacc-248e-4bcf-a26a-972ae93e2a08 AT jeffunit DOT com>
<844a0865-027c-419c-b22c-c05f9016bdfb AT jeffunit DOT com>
<20241015194842 DOT 907f20d6023f745e8f829499 AT nifty DOT ne DOT jp>
<85266c6e-1a68-4c31-9361-0e2b250691a2 AT jeffunit DOT com>
<20241016000144 DOT 9ccbc09ba4a3d7d5ce8dee31 AT nifty DOT ne DOT jp>
<a96e5412-9c87-4529-ae78-09fe6591c372 AT jeffunit DOT com>
<20241016063405 DOT f5ad0ca26fc30841c5acbb46 AT nifty DOT ne DOT jp>
<1daf78d9-63f2-4358-8d16-e555a9e83cfa AT jeffunit DOT 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 AT cygwin DOT com
X-Mailman-Version: 2.1.30
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>
From: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
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 DOT yano AT nifty DOT ne DOT 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

- Raw text -


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