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 spe

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 be

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 as

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) o

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 > predic

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 memory

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: https://cygwi

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 b

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 .cpa

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 3.5.0-0.617.g030a762535c1.x86_6

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 a

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 contri

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 i