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