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

Ken Brown kbrown@cornell.edu
Tue Feb 9 15:11:57 GMT 2021

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

 winsup/cygwin/fhandler_disk_file.cc | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)


More information about the Cygwin-patches mailing list