Re: [EXTERNAL] Re: scp stalls on uploading in cygwin 3.5 current master.

2023-08-26 Thread Takashi Yano via Cygwin
On Sat, 26 Aug 2023 14:08:34 + "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" wrote: > IMO you're triggering an undefined (or not well-defined) behavior, because of > the murky status > of the byte count of 0. It may work now, but it may not work in the future... > > RETURN VALUE >On

Re: [Sharing progress] Tried to revive LLVM/Clang/Libc++ pkgs and port Rust

2023-08-26 Thread ASSI via Cygwin-apps
小さい猫 via Cygwin-apps writes: > i am not familiar with the ocaml stuffs, and i dont quite understand > what is the problem ur currently getting. Dune cannot be fully built because lwt.unix or one of it's dependencies is missing. I could built a bootstrapped package, but that later runs into

Re: Documenting Cygwin on NFS, no longer only exchange-medium! Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a d

2023-08-26 Thread Brian Inglis via Cygwin
On 2023-08-26 11:44, Martin Wege via Cygwin wrote: On Fri, Aug 25, 2023 at 2:19 PM Corinna Vinschen via Cygwin wrote: On Aug 23 01:05, Roland Mainz via Cygwin wrote: Note that Cygwin does not interpret the file |myfifo.fifo| as FIFO, instead it comes back as a symlink "myfifo.fifo ->

Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-26 Thread Brian Inglis via Cygwin
On 2023-08-26 11:40, Martin Wege via Cygwin wrote: On Sat, Aug 26, 2023 at 4:16 PM Corinna Vinschen via Cygwin wrote: On Aug 26 13:26, Cedric Blancher via Cygwin wrote: On Fri, 25 Aug 2023 at 14:26, Corinna Vinschen via Cygwin wrote: On Aug 25 14:18, Corinna Vinschen via Cygwin wrote: On

Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-26 Thread Martin Wege via Cygwin
On Thu, Aug 24, 2023 at 6:45 PM Martin Wege wrote: > > On Wed, Aug 23, 2023 at 1:06 AM Roland Mainz via Cygwin > wrote: > > > > On Tue, Aug 22, 2023 at 4:52 PM Lavrentiev, Anton (NIH/NLM/NCBI) [C] > > via Cygwin wrote: > > > > FIFOs which don't make *any* sense > > > > ... FWIW, a remote NFS

Documenting Cygwin on NFS, no longer only exchange-medium! Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a direc

2023-08-26 Thread Martin Wege via Cygwin
On Fri, Aug 25, 2023 at 2:19 PM Corinna Vinschen via Cygwin wrote: > > On Aug 23 01:05, Roland Mainz via Cygwin wrote: > > Note that Cygwin does not interpret the file |myfifo.fifo| as FIFO, > > instead it comes back as a symlink "myfifo.fifo -> ':\0:c4:1000'". > > > > AFAIK there are (at least)

Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-26 Thread Martin Wege via Cygwin
On Sat, Aug 26, 2023 at 4:16 PM Corinna Vinschen via Cygwin wrote: > > On Aug 26 13:26, Cedric Blancher via Cygwin wrote: > > On Fri, 25 Aug 2023 at 14:26, Corinna Vinschen via Cygwin > > wrote: > > > > > > On Aug 25 14:18, Corinna Vinschen via Cygwin wrote: > > > > On Aug 23 01:05, Roland Mainz

RE: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-26 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> You don't seem to understand the problem. I think I do, and that aligns with your explanation how Cygwin machinery works to fake the FIFOs. > If I can recognize a file as FIFO, I can use it as FIFO, regardless if it's a > native FIFO or a Cygwin FIFO. That's exactly what I meant! > Show

Re: [EXTERNAL] Re: scp stalls on uploading in cygwin 3.5 current master.

2023-08-26 Thread Corinna Vinschen via Cygwin
On Aug 26 14:15, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > This thread is not about send() blocking or returning EAGAIN. This > > is about the behaviour of select(2) and poll(2). > > I was merely commenting on your note that if select() returned a socket as > writable, and

Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-26 Thread Corinna Vinschen via Cygwin
On Aug 25 23:21, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > it is not possible to diffentiate between Cygwin > > FIFOs and real FIFOs created from the remote side in `ls -l' > > output. > > Why would that be necessary? If it's a FIFO, it can be used as a > FIFO, regardless where

RE: [EXTERNAL] Re: scp stalls on uploading in cygwin 3.5 current master.

2023-08-26 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> This thread is not about send() blocking or returning EAGAIN. This > is about the behaviour of select(2) and poll(2). I was merely commenting on your note that if select() returned a socket as writable, and send() writes more than internally allowed, then send() would block. It wouldn't!

Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-26 Thread Corinna Vinschen via Cygwin
On Aug 26 13:26, Cedric Blancher via Cygwin wrote: > On Fri, 25 Aug 2023 at 14:26, Corinna Vinschen via Cygwin > wrote: > > > > On Aug 25 14:18, Corinna Vinschen via Cygwin wrote: > > > On Aug 23 01:05, Roland Mainz via Cygwin wrote: > > > > 2. Check whether the filesystem for the fifos path is

RE: [EXTERNAL] Re: scp stalls on uploading in cygwin 3.5 current master.

2023-08-26 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> > Can we use send(sock, "", 0) to reenable FD_WRITE, perhaps? > > Your idea seems to work. The following patch looks to solve the issue. > Is it supposed to be any side effect()? IMO you're triggering an undefined (or not well-defined) behavior, because of the murky status of the byte count

Re: can't compile coreutils-9.3 any more after upgrade to cygwin-3.4.8

2023-08-26 Thread Corinna Vinschen via Cygwin
On Aug 25 22:50, Mark Geisert via Cygwin wrote: > Hi Corinna, > > Corinna Vinschen via Cygwin wrote: > > On Aug 24 14:39, Mark Geisert via Cygwin wrote: > > > Denis Excoffier via Cygwin wrote: > > > > Hello, > > > > When i try to compile coreutils-9.3 under cygwin-3.4.8 i get the > > > >

Re: [EXTERNAL] Re: scp stalls on uploading in cygwin 3.5 current master.

2023-08-26 Thread Corinna Vinschen via Cygwin
On Aug 25 23:27, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > While select indicates that > > data can be written, it doesn't indicate how much data can be written. > > I. e., if select returns, and there's only buffer space for 10 bytes, > > and the send call tries to send 100

Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-26 Thread Cedric Blancher via Cygwin
On Fri, 25 Aug 2023 at 17:15, Roland Mainz via Cygwin wrote: > > On Fri, Aug 25, 2023 at 2:18 PM Corinna Vinschen via Cygwin > wrote: > > > > On Aug 23 01:05, Roland Mainz via Cygwin wrote: > > > Note that Cygwin does not interpret the file |myfifo.fifo| as FIFO, > > > instead it comes back as a

Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-26 Thread Cedric Blancher via Cygwin
On Fri, 25 Aug 2023 at 14:26, Corinna Vinschen via Cygwin wrote: > > On Aug 25 14:18, Corinna Vinschen via Cygwin wrote: > > On Aug 23 01:05, Roland Mainz via Cygwin wrote: > > > 2. Check whether the filesystem for the fifos path is NFS > > > (cgywin.dll's |fs.fs_is_nfs()|), and then just refuse

[ANNOUNCEMENT] Updated: Perl distributions

2023-08-26 Thread ASSI via Cygwin
The following Perl distributions have been updated to their latest release version available on CPAN: noarch -- perl-Business-ISBN-Data-20230822.001-1 perl-Mozilla-CA-20230821-1 perl-URI-5.21-1 -- *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from

Updated: Perl distributions

2023-08-26 Thread ASSI
The following Perl distributions have been updated to their latest release version available on CPAN: noarch -- perl-Business-ISBN-Data-20230822.001-1 perl-Mozilla-CA-20230821-1 perl-URI-5.21-1 -- *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from

Updated: {xfig,xfig-lib,transfig}-3.2.9-1

2023-08-26 Thread ASSI
This is an update to the latest upstream release of xfig (including fig2dev/transfig). -- *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send

[ANNOUNCEMENT] Updated: {xfig,xfig-lib,transfig}-3.2.9-1

2023-08-26 Thread ASSI via Cygwin
This is an update to the latest upstream release of xfig (including fig2dev/transfig). -- *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send

[ANNOUNCEMENT] Updated: weechat-4.0.4-1

2023-08-26 Thread Sébastien Helleu via Cygwin
Version 4.0.4-1 of "weechat" has been uploaded. ChangeLog: https://weechat.org/files/doc/weechat/ChangeLog-4.0.4.html DESCRIPTION WeeChat is a fast, light and extensible chat client. It runs on many platforms like Linux, Unix, BSD, GNU Hurd, Mac OS X and Windows (bash/ubuntu and cygwin).

Updated: weechat-4.0.4-1

2023-08-26 Thread Sébastien Helleu
Version 4.0.4-1 of "weechat" has been uploaded. ChangeLog: https://weechat.org/files/doc/weechat/ChangeLog-4.0.4.html DESCRIPTION WeeChat is a fast, light and extensible chat client. It runs on many platforms like Linux, Unix, BSD, GNU Hurd, Mac OS X and Windows (bash/ubuntu and cygwin).