* fhandler.cc (fhandler_base::open): Fix typos in comment.

This commit is contained in:
Corinna Vinschen 2011-12-03 14:21:30 +00:00
parent 71148bfcd5
commit 5687f6834a
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2011-12-03 Corinna Vinschen <vinschen@redhat.com>
* fhandler.cc (fhandler_base::open): Fix typos in comment.
2011-12-02 Corinna Vinschen <vinschen@redhat.com> 2011-12-02 Corinna Vinschen <vinschen@redhat.com>
* path.cc (conv_path_list): Take cygwin_conv_path_t as third parameter. * path.cc (conv_path_list): Take cygwin_conv_path_t as third parameter.

View File

@ -624,10 +624,10 @@ fhandler_base::open (int flags, mode_t mode)
pc.file_attributes (file_attributes); pc.file_attributes (file_attributes);
/* Never set the WRITE_DAC flag here. Calls to fstat may return /* Never set the WRITE_DAC flag here. Calls to fstat may return
wrong st_ctime information after calls to fchmod, fchown, etc 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 the handle is closed or flushed. However, flushing the file
on every fstat to enforce POSIXy stat behaviour is exceessivly on every fstat to enforce POSIXy stat behaviour is excessivly
slow, compared to open/close the file when changing the file's slow, compared to an extra open/close to change the file's
security descriptor. */ security descriptor. */
} }
} }