Pipes truncating data in cygwin from main and cygwin-3_4-branch
Tue Aug 15 09:45:57 GMT 2023
On Tue, 15 Aug 2023 18:09:50 +0900
キャロウ マーク wrote:
> > On Aug 15, 2023, at 15:42, Takashi Yano <firstname.lastname@example.org> wrote:
> >>> New pipe implementation since cygwin 3.4.x provides the pipes
> >>> more similar to pipe in command prompt for non-cygwin apps.
> >> What are the differences between these pipes? What changed?
> > Many changes. But, the change which triggers this behaviour
> > is setting FILE_SYNCHRONOUS_IO_NONALERT create option.
> > With this option, seekg() of Microsoft library gets success
> > for pipes, despite it should not I suppose.
> On what create is this option specified?
Pipe itself. We use NtCreateNamedPipeFile() to create a pipe.
Takashi Yano <email@example.com>
More information about the Cygwin