From 8b2547826762b748ad5b2bbe4089c422c7cd312a Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sat, 3 Dec 2011 20:35:36 +0000 Subject: [PATCH] * fhandler.cc (fhandler_base::open): Fix comment a bit more. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/fhandler.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 0d27f68f3..7477010ab 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2011-12-03 Corinna Vinschen + + * fhandler.cc (fhandler_base::open): Fix comment a bit more. + 2011-12-03 Corinna Vinschen * fhandler.cc (fhandler_base::open): Fix typos in comment. diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index 00f181e87..a2f3ba651 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -624,7 +624,7 @@ fhandler_base::open (int flags, mode_t mode) pc.file_attributes (file_attributes); /* Never set the WRITE_DAC flag here. Calls to fstat may return wrong st_ctime information after calls to fchmod, fchown, etc - because Windows only guarantees to update the metadata when + because Windows only guarantees the update of metadata when the handle is closed or flushed. However, flushing the file on every fstat to enforce POSIXy stat behaviour is excessivly slow, compared to an extra open/close to change the file's -- 2.43.5