Hi Takashi,
On 3/30/2019 9:30 AM, Takashi Yano wrote:
> Hi Ken,
>
> Do these patches enable to open FIFO multiple times with O_RDWR?
> mc (midnight commander) tries to open FIFO twice with O_RDWR if
> SHELL=/bin/tcsh, but fails.
> https://cygwin.com/ml/cygwin/2017-03/msg00188.html
No, I'm
Hi Ken,
Do these patches enable to open FIFO multiple times with O_RDWR?
mc (midnight commander) tries to open FIFO twice with O_RDWR if
SHELL=/bin/tcsh, but fails.
https://cygwin.com/ml/cygwin/2017-03/msg00188.html
On Mon, 25 Mar 2019 23:06:10 + Ken Brown wrote:
> If a FIFO is opened with
If a FIFO is opened with O_RDWR access, create the pipe with
read/write access, and make the first client have the handle of that
pipe as its I/O handle.
Adjust fhandler_fifo::raw_read to account for the result of trying to
read from that client if there's no data.
---
winsup/cygwin/fhandler.h