Re: fresh install, when I run a c++ program I made from a cygterm it logs out

2024-10-14 Thread jeff via Cygwin
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 an

Re: fresh install, when I run a c++ program I made from a cygterm it logs out

2024-10-14 Thread jeff via Cygwin
On 10/14/2024 12:40, Takashi Yano wrote: On Mon, 14 Oct 2024 12:31:37 -0700 jeff wrote: On 10/14/2024 12:21, Takashi Yano wrote: On Mon, 14 Oct 2024 09:15:02 -0700 jeff wrote: I wrote a program called lines.cpp, which is line wc. It works fine when I run it from a windows terminal or windows c

Re: fresh install, when I run a c++ program I made from a cygterm it logs out

2024-10-14 Thread Takashi Yano via Cygwin
On Mon, 14 Oct 2024 12:31:37 -0700 jeff wrote: > On 10/14/2024 12:21, Takashi Yano wrote: > > On Mon, 14 Oct 2024 09:15:02 -0700 > > jeff wrote: > >> I wrote a program called lines.cpp, which is line wc. > >> It works fine when I run it from a windows terminal or windows command. > >> > >> When I r

Re: fresh install, when I run a c++ program I made from a cygterm it logs out

2024-10-14 Thread jeff via Cygwin
On 10/14/2024 12:21, Takashi Yano wrote: On Mon, 14 Oct 2024 09:15:02 -0700 jeff wrote: I wrote a program called lines.cpp, which is line wc. It works fine when I run it from a windows terminal or windows command. When I run it from bash, on my u disk, it works fine: jdeifik@epyc-milan-64 /cyg

Re: fresh install, when I run a c++ program I made from a cygterm it logs out

2024-10-14 Thread Takashi Yano via Cygwin
On Mon, 14 Oct 2024 09:15:02 -0700 jeff wrote: > I wrote a program called lines.cpp, which is line wc. > It works fine when I run it from a windows terminal or windows command. > > When I run it from bash, on my u disk, it works fine: > > jdeifik@epyc-milan-64 /cygdrive/u > $ lines john.conf > c:

Re: What is the tcl library path?

2024-10-14 Thread Sam Edge via Cygwin
On 14/10/2024 19:07, José Isaías Cabrera via Cygwin wrote: Greetings. I am working with SQLite, and I am trying to build the SQLite library with TCL support. The SQLite folks asked me the path of the TCL library which I have to idea how to identify. Is there a command that would display the p

What is the tcl library path?

2024-10-14 Thread José Isaías Cabrera via Cygwin
Greetings. I am working with SQLite, and I am trying to build the SQLite library with TCL support. The SQLite folks asked me the path of the TCL library which I have to idea how to identify. Is there a command that would display the path of the working TCL library. This is the tcl version cyg

fresh install, when I run a c++ program I made from a cygterm it logs out

2024-10-14 Thread jeff via Cygwin
I wrote a program called lines.cpp, which is line wc. It works fine when I run it from a windows terminal or windows command. When I run it from bash, on my u disk, it works fine: jdeifik@epyc-milan-64 /cygdrive/u $ lines john.conf c: 131785  w: 21581  l:  4505  LP p:  67  longest l: 292   john.

cygwin 3.5.4-1: lockf() aborts on overlap and does not fail on overflow

2024-10-14 Thread Christian Franke via Cygwin
Two possibly independent bugs found by 'stress-ng --lockf ...': 1) lockf() may abort the process with api_fatal() if the new range partly overlaps with two ranges previously locked by the same process. 2) lockf() prints a warning on too many locks and returns success. It should not print a wa

Re: cygwin 3.5.4-1: signal handling destroys 'long double' values

2024-10-14 Thread Christian Franke via Cygwin
Takashi Yano via Cygwin wrote: ... Please check v2 patch. The v3(!) patch fixes my testcases. Both branches (xsave64, fxsave64) were tested. -- Regards, Christian -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:h

Re: cygwin 3.5.4-1: signal handling destroys 'long double' values

2024-10-14 Thread Takashi Yano via Cygwin
On Mon, 14 Oct 2024 14:29:58 +0900 Takashi Yano wrote: > Hi Brian, > > Thanks for the detail expression. ^^ explanation -- Takashi Yano -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: