On Wed, 16 Oct 2024 00:01:44 +0900
Takashi Yano wrote:
> 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 <cygwin@cygwin.com> wrote:
> > >
> > >> I have a test case.
> > >>
> > >> this is test.c:
> > >> #include <stdio.h>
> > >> 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@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@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@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@epyc-milan-64 /cygdrive/k/pw-crack/fred_john/run
> > >> $ testx one two thee
> > >>
> > >> jdeifik@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@HP-Z230 /cygdrive/h/pw-crack/fred_john/run
> $ gcc test.c -o testx.exe
> 
> yano@HP-Z230 /cygdrive/h/pw-crack/fred_john/run
> $ ./testx one two three
> ./testx
> one
> two
> three
> 
> yano@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 '{}' \;
> ?

Also please check:
IFS=':'; for a in ${PATH[@]}; do find $a -name cygwin1.dll -exec ls -l '{}' \; 
; done

-- 
Takashi Yano <takashi.y...@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

Reply via email to