[PATCH 0/3] Fix fstat on FIFOs, part 2
Corinna Vinschen
corinna-cygwin@cygwin.com
Fri Feb 19 17:07:32 GMT 2021
On Feb 18 12:13, Ken Brown via Cygwin-patches wrote:
> The first patch fixes a bug, in which fstat on FIFOs sometimes used
> pipe handles instead of file handles.
>
> The second and third patches should improve the efficiency of fstat
> and open on FIFOs.
>
> Ken Brown (3):
> Cygwin: define fhandler_fifo::fstat
> Cygwin: fstat_helper: always use handle in call to get_file_attribute
> Cygwin: FIFO: temporarily keep a conv_handle in syscalls.cc:open
>
> winsup/cygwin/fhandler.h | 1 +
> winsup/cygwin/fhandler_disk_file.cc | 3 +--
> winsup/cygwin/fhandler_fifo.cc | 23 +++++++++++++++++++++++
> winsup/cygwin/syscalls.cc | 22 +++++++++++++++++++---
> 4 files changed, 44 insertions(+), 5 deletions(-)
>
> --
> 2.30.0
LGTM, please push.
Thanks,
Corinna
More information about the Cygwin-patches
mailing list