[PATCH 0/1] Fix fstat on FIFOs, part 1

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Feb 9 15:25:49 GMT 2021


On Feb  9 10:11, Ken Brown via Cygwin-patches wrote:
> Commit 76dca77f04 had a careless blunder, so this patch reverts it.
> 
> Nevertheless, fstat(2) can be made more efficient on FIFOs, and I'm
> working on a separate patchset to do this right.  It's worth doing,
> because every call to open(2) on a FIFO leads to a call chain
> 
>   device_access_denied --> fhaccess --> fstat,
> 
> and this is one of the cases where greater efficiency is possible.
> 
> Ken Brown (1):
>   Revert "Cygwin: fstat_helper: always use handle in call to
>     get_file_attribute"
> 
>  winsup/cygwin/fhandler_disk_file.cc | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)

Sure, go ahead.


Thanks,
Corinna


More information about the Cygwin-patches mailing list