Non-Cygwin programs touching a pipe's read side makes the write side unselectable

2024-03-09 Thread wh via Cygwin
Here's how to reproduce this behavior. In test3.pl: #!/usr/bin/perl my $wfds = ''; vec($wfds, fileno(STDOUT), 1) = 1; sleep 1; print STDERR "selecting\n"; select undef, $wfds, undef, undef; print STDERR "ready\n"; print "abc\n"; Then run: # curl is as shipped with Windows, /cygdrive/c/Windows/s

Re: Switching groups with newgrp - how to get the new group with |GetTokenInformation()| ?

2024-03-09 Thread Glenn Strauss via Cygwin
On Wed, Mar 06, 2024 at 02:01:06PM +0100, Corinna Vinschen via Cygwin wrote: > On Mar 5 23:38, Dan Shelton via Cygwin wrote: > > On Sat, 24 Feb 2024 at 14:11, Corinna Vinschen via Cygwin > > wrote: > > > > > > On Feb 23 22:15, Dan Shelton via Cygwin wrote: > > > > HOWEVER, there is another Cygwin

Re: ls/stat on OneDrive causes download of files

2024-03-09 Thread Marcin Wisnicki via Cygwin
I did more testing and found out that the problem does not happen in cygwin by default because cygwin mounts with acl which doesn't do header sniffing while msys uses noacl. Testing on an mp4 file in OneDrive, when I use noacl in cygwin it triggers the read as well. After upgrading to the test ver

Updated: setup (2.931)

2024-03-09 Thread Jon Turney via Cygwin
A new version of Setup (2.931) has been uploaded to: https://cygwin.com/setup-x86_64.exe (64 bit version) https://cygwin.com/setup-x86.exe (32 bit version) Changes compared to 2.930: - Fix inability of 32-bit setup to retrieve anything from the Internet. Oops. (a regression in 2.930)

Re: Signature files missing

2024-03-09 Thread Jon Turney via Cygwin
On 09/03/2024 00:32, dave--- via Cygwin wrote: .sig files seem to have gone missing from (at least some) mirrors. e.g. https://mirrors.kernel.org/sourceware/cygwin/x86_64/ Thanks for reporting this. This was unfortunately broken as a consequence of some changes on sourceware. This is fix