Re: arc4random does not reseed after using fork()

2024-01-29 Thread Johnothan King via Cygwin
Hello, I can confirm the bugfix works and that arc4random now functions correctly in Cygwin 3.5 after fork(). - Johnothan King -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe

CYGWIN 1.5.3 END OF SUPPORT OR LIFE

2024-01-29 Thread Marvin.C.Scott--- via Cygwin
Good day - I represent a logistics team of users of CYGWIN freeware for a government contract. In my role I am responsible for tracking support and end of life for software assets. In the before mentioned effort mentioned above I have a general question. Do CYGWIN freeware developers or

Re: Setting process command name in forked process

2024-01-29 Thread Steve Beck via Cygwin
Thank you, Corinna and Anton for your replies. I downloaded procps, and it worked exactly as you described. I understand this approach is a non-portable hack and to the extent that it matters at all, I'd like to +1 the suggestion/request of picking up support for setproctitle(3) in the next

zp_octave_finish.dash fails when updating

2024-01-29 Thread Uwe F. Mayer via Cygwin
The script /etc/postinstall/zp_octave_finish.dash from octave-8.4.0-1.tar.bz2 fails during Cygwin update because that script expects the directory /usr/share/octave/packages to exist. Creating that directory fixes this error. CYGWIN_NT-10.0-19045 Windows-10-Laptop

Perl/CPAN Keeps failing

2024-01-29 Thread Simon Matthews via Cygwin
I keep getting errors when trying to install Perl packages using CPAN. I can see some quite old discussions that appear to say that the problem is solved by mounting the .cpan directory in binmode, but the options in that solution given to the mount command are not accepted. I have deleted my

pip install ocassionally hangs

2024-01-29 Thread Daniel Abrahamsson via Cygwin
Hi, Since some time ago (perhaps a week or two), "pip install" occassionally hangs. Ctrl+C does not work. I have to kill the process via the task manager. I can reproduce the problem somewhat reliably by running: pip install --force jenkins_job_builder==5.0.4 This is the last thing printed

RE: Setting process command name in forked process

2024-01-29 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> It used to work in the past, for sure, and was used in some code over here... And yes, like Corinna said, you have to use procps to actually see the changes. Anton Lavrentiev Contractor NIH/NLM/NCBI -- Problem reports: https://cygwin.com/problems.html FAQ:

RE: Setting process command name in forked process

2024-01-29 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> Can you see what I'm doing wrong? It used to work in the past, for sure, and was used in some code over here... Since it was an ad-hoc thing, the behavior might have changed -- I haven't checked it lately. To make the full disclosure, we reassign the entire __argv here from the linear

Re: Request for import of git repository history

2024-01-29 Thread Jon Turney via Cygwin-apps
On 29/01/2024 07:41, Mark Geisert via Cygwin-apps wrote: Hi folks, I'm finally getting around to setting up the centralized git repositories for the packages I maintain. There is currently no history for the cygutils package. Could I please have its history imported with ctm2git? Thanks

Re: arc4random does not reseed after using fork()

2024-01-29 Thread Corinna Vinschen via Cygwin
Hi Johnothan, On Jan 26 22:06, Johnothan King via Cygwin wrote: > Hello, > > While testing ksh93u+m's recently added SRANDOM variable[1], I have > discovered a bug in Cygwin's arc4random function. After using fork(), > arc4random does not reseed itself, which causes the results to become >

Re: [PATCH 1/5] Cygwin: Make 'ulimit -c' control writing a coredump

2024-01-29 Thread Corinna Vinschen
On Jan 27 15:12, Jon Turney wrote: > On 26/01/2024 11:52, Corinna Vinschen wrote: > > > - Create a named mutex with a reproducible name (no need to use > > >the name as parameter) and immediately grab it. > > > - Call CreateProcess to start the debugger with CREATE_SUSPENDED > > >flag. > >

Re: cygwin 3.4.10-1

2024-01-29 Thread Corinna Vinschen via Cygwin-apps
On Jan 27 10:27, Marco Atzeri via Cygwin-apps wrote: > On 29/11/2023 15:08, Corinna Vinschen via Cygwin-announce wrote: > > The following packages have been uploaded to the Cygwin distribution: > > > > * cygwin-3.4.10-1 > > * cygwin-devel-3.4.10-1 > > * cygwin-doc-3.4.10-1 > > > > just for me

Re: /usr/bin/fallocate -v -d -l 2 myfile takes forever

2024-01-29 Thread Cedric Blancher via Cygwin
On Mon, 29 Jan 2024 at 09:33, Brian Inglis via Cygwin wrote: > > On 2024-01-28 23:44, Cedric Blancher via Cygwin wrote: > > rm -f myfile > > touch myfile > > /usr/bin/fallocate -v -d -l myfile takes forever with latest Cygwin 3.5 > > It takes much longer without Cygwin 3.5! > > Your fallocate(1)

Re: Setting process command name in forked process

2024-01-29 Thread Corinna Vinschen via Cygwin
On Jan 26 18:35, Steve Beck via Cygwin wrote: > Thanks so much for the reply, Anton! Really appreciate it. > > I tried what you proposed. Here is the code trying both ways > (overwriting what is referenced by __argv[0] and then reassigning the > reference). I compile this code (foo.c) simply

Re: /usr/bin/fallocate -v -d -l 2 myfile takes forever

2024-01-29 Thread Mark Geisert via Cygwin
On 1/28/2024 11:56 PM, Mark Geisert via Cygwin wrote: On 1/28/2024 10:44 PM, Cedric Blancher via Cygwin wrote: Good morning! rm -f myfile touch myfile /usr/bin/fallocate -v -d -l myfile takes forever with latest Cygwin 3.5 ^ length goes here, before filename I

Re: /usr/bin/fallocate -v -d -l 2 myfile takes forever

2024-01-29 Thread Brian Inglis via Cygwin
On 2024-01-28 23:44, Cedric Blancher via Cygwin wrote: rm -f myfile touch myfile /usr/bin/fallocate -v -d -l myfile takes forever with latest Cygwin 3.5 It takes much longer without Cygwin 3.5! Your fallocate(1) option -l has no length numeric argument and no -o offset numeric argument to