Re: [PATCH] Cygwin: pipe: Restore non-blocking mode which was reset for non-cygwin app.

2024-03-11 Thread Takashi Yano
On Tue, 12 Mar 2024 08:03:16 +0900 Takashi Yano wrote: > + /* Set read pipe itself always non-blocking for cygwin process. > + Blocking/non-blocking is simulated in raw_read(). For write > + pipe, follow is_nonblocking(). */ > + int fd; > + cygheap_fdenum cfd (false); > + while ((fd =

Re: [PATCH] Cygwin: pipe: Restore non-blocking mode which was reset for non-cygwin app.

2024-03-11 Thread Takashi Yano
On Mon, 11 Mar 2024 21:33:04 +0100 Corinna Vinschen wrote: > this looks much better. Just one question and a few comment > changes... > > On Mar 11 22:18, Takashi Yano wrote: > > Subject: [PATCH v2] Cygwin: pipe: Make sure to set read pipe non-blocking > > for > > cygwin apps. > > > > If pipe

Re: [PATCH] Cygwin: pipe: Restore non-blocking mode which was reset for non-cygwin app.

2024-03-11 Thread Corinna Vinschen
Hi Takashi, this looks much better. Just one question and a few comment changes... On Mar 11 22:18, Takashi Yano wrote: > Subject: [PATCH v2] Cygwin: pipe: Make sure to set read pipe non-blocking for > cygwin apps. > > If pipe reader is a non-cygwin app first, and cygwin process reads > the

Re: [cygport] enabling a replacement for "objdump -d -l"

2024-03-11 Thread ASSI via Cygwin-apps
Jon Turney via Cygwin-apps writes: > Thanks, this is great! You're welcome. > Please, please make a patch with git format-patch, which I can then > just apply. You can always just pull it in from my repo… when it's ready. > Fifty lines of perl with no comments! This is just line noise to me >

openssh 9.7p1-1

2024-03-11 Thread Corinna Vinschen via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * openssh-9.7p1-1 OpenSSH is a program for logging into a remote machine and for executing commands on a remote machine. It can replace rlogin and rsh, providing encrypted communication between two machines.

[ITP] mandoc 1.14.6-1

2024-03-11 Thread Christian Franke via Cygwin-apps
I would like to contribute mandoc. Also present in Debian, Fedora, Ubuntu, ... and as the default man page formatter on *BSD. Useful to check man pages for compatibility with *BSD systems. The build is reproducible without the need to export SOURCE_DATE_EPOCH. SUMMARY="BSD mandoc compiler

Re: Request for a rough release timeline for Cygwin 3.5.2

2024-03-11 Thread Corinna Vinschen via Cygwin
On Mar 11 11:48, Kate Deplaix via Cygwin wrote: > Hi, > > Sorry to bother you all, > > Following the fixes (thank you so much again) of the two critical > issues in cygwin 3.5.0/3.5.1 > https://cygwin.com/pipermail/cygwin/2024-February/255561.html , we > were wondering if cygwin 3.5.2 is likely

Re: ls/stat on OneDrive causes download of files

2024-03-11 Thread Corinna Vinschen via Cygwin
On Mar 9 15:29, Marcin Wisnicki via Cygwin wrote: > 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

Re: Cygwin 3.5.1: unable to open output file '/cygdrive/t/tmpdir/x-01564d.o': 'Operation not permitted'

2024-03-11 Thread Brian Inglis via Cygwin
On 2024-03-11 04:27, Roland Mainz via Cygwin wrote: On Mon, Mar 11, 2024 at 8:01 AM Cedric Blancher via Cygwin wrote: On Fri, 8 Mar 2024 at 03:25, Dan Shelton via Cygwin wrote: I've run into a problem with clang on Cygwin 3.5.1 and 3.6. My machine does not have much disk space left, so I

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

2024-03-11 Thread Corinna Vinschen via Cygwin
On Mar 11 02:28, Dan Shelton via Cygwin wrote: > On Wed, 6 Mar 2024 at 14:01, Corinna Vinschen via Cygwin > wrote: > > On Mar 5 23:38, Dan Shelton via Cygwin wrote: > > > Always editing /etc/nsswitch.conf > > > forth and back is not a elegant solution, aside from race conditions > > > with other

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

2024-03-11 Thread Corinna Vinschen via Cygwin
On Mar 9 16:26, Glenn Strauss via Cygwin wrote: > 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

Re: [PATCH] Cygwin: pipe: Restore non-blocking mode which was reset for non-cygwin app.

2024-03-11 Thread Takashi Yano
On Mon, 11 Mar 2024 20:42:37 +0900 Takashi Yano wrote: > On Mon, 11 Mar 2024 11:47:32 +0100 > Corinna Vinschen wrote: > > Hi Takashi, > > > > On Mar 10 19:31, Takashi Yano wrote: > > > @@ -590,6 +591,10 @@ child_info_spawn::worker (const char *prog_arg, > > > const char *const *argv, > > >

Request for a rough release timeline for Cygwin 3.5.2

2024-03-11 Thread Kate Deplaix via Cygwin
Hi, Sorry to bother you all, Following the fixes (thank you so much again) of the two critical issues in cygwin 3.5.0/3.5.1 https://cygwin.com/pipermail/cygwin/2024-February/255561.html , we were wondering if cygwin 3.5.2 is likely to be released soon. We would be extremely grateful and

Re: [PATCH] Cygwin: pipe: Restore non-blocking mode which was reset for non-cygwin app.

2024-03-11 Thread Takashi Yano
On Mon, 11 Mar 2024 11:47:32 +0100 Corinna Vinschen wrote: > Hi Takashi, > > On Mar 10 19:31, Takashi Yano wrote: > > @@ -590,6 +591,10 @@ child_info_spawn::worker (const char *prog_arg, const > > char *const *argv, > > { > > fhandler_pipe *pipe = (fhandler_pipe

[PATCH cygport] Add repro-finish command

2024-03-11 Thread Christian Franke via Cygwin-apps
Thanks for accepting the repro-check patch. A minor enhancement is attached. The function is in pkg_pkg.cygpart instead of pkg_cleanup.cygpart because then it is easier to keep it in sync with the other __repro_* functions. PS: I have a local script which checks SPDX Identifiers and

Re: [PATCH] Cygwin: pipe: Restore non-blocking mode which was reset for non-cygwin app.

2024-03-11 Thread Corinna Vinschen
Hi Takashi, On Mar 10 19:31, Takashi Yano wrote: > @@ -590,6 +591,10 @@ child_info_spawn::worker (const char *prog_arg, const > char *const *argv, > { > fhandler_pipe *pipe = (fhandler_pipe *)(fhandler_base *) cfd; > pipe->set_pipe_non_blocking (false); >

Re: Cygwin 3.5.1: unable to open output file '/cygdrive/t/tmpdir/x-01564d.o': 'Operation not permitted'

2024-03-11 Thread Roland Mainz via Cygwin
On Mon, Mar 11, 2024 at 8:01 AM Cedric Blancher via Cygwin wrote: > On Fri, 8 Mar 2024 at 03:25, Dan Shelton via Cygwin wrote: > > I've run into a problem with clang on Cygwin 3.5.1 and 3.6. My machine > > does not have much disk space left, so I switched TMPDIR to the > > network drive. But

wavpack 5.7.0-1

2024-03-11 Thread Takashi Yano via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * wavpack-5.7.0-1 * libwavpack1-5.7.0-1 * libwavpack-devel-5.7.0-1 WavPack is a completely open audio compression format providing lossless, high-quality lossy, and a unique hybrid compression mode. Although the technology is

unbound 1.19.2-1

2024-03-11 Thread Takashi Yano via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * unbound-1.19.2-1 * libunbound8-1.19.2-1 * libunbound-common-1.19.2-1 * libunbound-devel-1.19.2-1 * python3-unbound-1.19.2-1 Unbound is a validating, recursive, and caching DNS resolver. Unbound is designed as a set of

Re: Cygwin 3.5.1: unable to open output file '/cygdrive/t/tmpdir/x-01564d.o': 'Operation not permitted'

2024-03-11 Thread Cedric Blancher via Cygwin
On Fri, 8 Mar 2024 at 03:25, Dan Shelton via Cygwin wrote: > > Hello! > > I've run into a problem with clang on Cygwin 3.5.1 and 3.6. My machine > does not have much disk space left, so I switched TMPDIR to the > network drive. But clang then failed, like this: > > $ cat x.c > #include > int

pango1.0 1.52.1-1

2024-03-11 Thread Takashi Yano via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * libpango1.0_0-1.52.1-1 * libpango1.0-devel-1.52.1-1 * libpango1.0-doc-1.52.1-1 * girepository-Pango1.0-1.52.1-1 Pango is a library for layout and rendering of text, with an emphasis on internationalization. Pango can be used