Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-07-27 12:38:00 +0400
committerCorinna Vinschen <corinna@vinschen.de>2007-07-27 12:38:00 +0400
commitfe7bbe1504adc15d6d9af71a508cc305fb3f04a1 (patch)
tree44de7a4ab8e3dad9da91b26680fc056a935fc31a /winsup/cygwin/fhandler.h
parent214c3a1167c25b0696b118e347a78adf813151a9 (diff)
* fhandler.h (enum query_state): Drop redundant query_stat_control.
* fhandler.cc (fhandler_base::open): Ditto. Add READ_CONTROL to access and FILE_OPEN_FOR_BACKUP_INTENT to create_options when opening for writing. Always set security attributes to avoid calling has_acls. * fhandler_disk_file.cc (fhandler_base::fstat_fs): Don't try to open file twice.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index cf1f27cc0..af505e8c4 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -86,9 +86,8 @@ enum query_state {
no_query = 0,
query_read_control = 1,
query_read_attributes = 2,
- query_stat_control = 3,
- query_write_control = 4,
- query_write_attributes = 5
+ query_write_control = 3,
+ query_write_attributes = 4
};
class fhandler_base