From 5687f6834a0ea23ebd3ea0eb4d5b9db7d7c7449b Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sat, 3 Dec 2011 14:21:30 +0000 Subject: [PATCH] * fhandler.cc (fhandler_base::open): Fix typos in comment. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/fhandler.cc | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index af702bf7b..0d27f68f3 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2011-12-03 Corinna Vinschen + + * fhandler.cc (fhandler_base::open): Fix typos in comment. + 2011-12-02 Corinna Vinschen * path.cc (conv_path_list): Take cygwin_conv_path_t as third parameter. diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index 08f404cb8..00f181e87 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -624,10 +624,10 @@ 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 gurantees to update the metadata when + because Windows only guarantees to update the metadata when the handle is closed or flushed. However, flushing the file - on every fstat to enforce POSIXy stat behaviour is exceessivly - slow, compared to open/close the file when changing the file's + on every fstat to enforce POSIXy stat behaviour is excessivly + slow, compared to an extra open/close to change the file's security descriptor. */ } } -- 2.43.5