DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 49FF31SZ3872148 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=Ru0plc9t X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D95813858283 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1729004580; bh=K/ZMSqR+TkBqVJPk9ATCi5UTzuHykX2wkNBiE3wzLIw=; 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=Ru0plc9t+ZXz5f9ztMCB5Yab9iQ8FfGXZ47Q1EAotx/eCi4Sk2gnB571X1i86EBjg UsRPNRsA0bXneSrYrx/JHlCZr8AqWHPH6ayYkEL6KV4Ki9eJCPLIr5DMLbmGI0dzdE Ur2ZzO1J6v1MnWJtmy/yeiD7+wZrB4HqjwJ2W5rw= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EA47D3857C68 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EA47D3857C68 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729004514; cv=none; b=bX03NYwNueqB6Xmd7ocUik8WgNj5HITgxl5J+6HPv7792AAc+1vC1GN4fR1fHpmHCCaNvMofKzRrnaSYKfNQ2ZVctdv9KNc6i2CRbIhSGT6gzUeVd1oQUeu5IrKag4/2dKPzhRGxmup1vUymm8+1Db0GQGp1S5S5xm7tVuyrFns= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729004514; c=relaxed/simple; bh=IN7hHN5PFk7T0JZ361xZOVWrE9heaoxU7ULAALE+5y0=; h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature; b=PHZfKWHWVbnHoRuhm0P0K2DAbf+SowsbvinJMK298NwV0scmmm2HHEtMGsgSIuCI0nsMtrdfhltbXjL36BCkg2M8waokKpETkgp+jBlTqxOACq8vF3B/IbGNCYjHr/C8AfoZIWSX69II6aQ0EU7+gahhn8XOzIKiubKWZVAZTVw= ARC-Authentication-Results: i=1; server2.sourceware.org Date: Wed, 16 Oct 2024 00:01:44 +0900 To: jeff 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: <20241016000144.9ccbc09ba4a3d7d5ce8dee31@nifty.ne.jp> In-Reply-To: <85266c6e-1a68-4c31-9361-0e2b250691a2@jeffunit.com> References: <826d4141-c988-4445-b069-17d98deee944 AT jeffunit DOT com> <20241015042129 DOT bb800cc5f1a7c5d74e78f887 AT nifty DOT ne DOT jp> <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> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Takashi Yano via Cygwin Reply-To: Takashi Yano Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 49FF31SZ3872148 On Tue, 15 Oct 2024 04:52:12 -0700 jeff wrote: > On 10/15/2024 03:48, Takashi Yano wrote: > > On Mon, 14 Oct 2024 14:18:04 -0700 > > jeff via Cygwin wrote: > > > >> I have a test case. > >> > >> this is test.c: > >> #include > >> int    main(int argc, char *argv[]) > >> { > >>     for (int i = 0; i < argc; i++) > >>     printf("%s\n", argv[i]); > >> } > >> > >> compiled with gcc test.c -o testx.exe > >> > >> when run from windows terminal: > >> testx one two three > >> testx > >> one > >> two > >> three > >> > >> when run from cygwin bash shell and /cygdrive/k > >> jdeifik AT epyc-milan-64 /cygdrive/k > >> $ testx one two thee > >> testx > >> one > >> two > >> thee > >> > >> when run from cygwin bash shell and /cygdrive/k/pw-crack > >> jdeifik AT epyc-milan-64 /cygdrive/k/pw-crack > >> $ testx one two thee > >> testx > >> one > >> two > >> thee > >> > >> when run from cygwin bash shell and /cygdrive/k/pw-crack/fred_john > >> jdeifik AT epyc-milan-64 /cygdrive/k/pw-crack/fred_john > >> $ !testx > >> testx one two thee > >> testx > >> one > >> two > >> thee > >> > >> when run from cygwin bash shell and /cygdrive/k/pw-crack/fred_john/run > >> jdeifik AT epyc-milan-64 /cygdrive/k/pw-crack/fred_john/run > >> $ testx one two thee > >> > >> jdeifik AT epyc-milan-64 /cygdrive/k/pw-crack/fred_john/run > >> $ > >> logout > > Is drive k: something special, such as network drive? > > If so, what kind of network drive is it? > No. It is just an internal sata ssd. OK. But I cannot reproduce the problem. yano AT HP-Z230 /cygdrive/h/pw-crack/fred_john/run $ gcc test.c -o testx.exe yano AT HP-Z230 /cygdrive/h/pw-crack/fred_john/run $ ./testx one two three ./testx one two three yano AT HP-Z230 /cygdrive/h/pw-crack/fred_john/run $ Could you please check the result of find /cygdrive/k -name cygwin1.dll -exec ls -l '{}' \; ? -- Takashi Yano -- 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