diff options
author | Christopher Faylor <me@cgf.cx> | 2003-12-15 07:16:42 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-12-15 07:16:42 +0300 |
commit | 9908d9977b131249201b9c19219fd7d61fd65701 (patch) | |
tree | f57144fb183b3f75b68602d708a6704fde7be29a /winsup/cygwin/fhandler_disk_file.cc | |
parent | 228f99a6c1a60d778fe0182ad9e66b8cd755daf8 (diff) |
* winsup.h (access_worker): Declare with added fhandler_base parameter.
* syscalls.cc (access_worker): Accommodate extra fhandler_base argument. Use
it instead of stat_worker to determine stat information, when appropriate.
* fhandler.cc (fhandler_base::device_access_denied): Pass fhandler pointer to
access_worker so that it can use the proper method for determining stat
information.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler_disk_file.cc')
-rw-r--r-- | winsup/cygwin/fhandler_disk_file.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_disk_file.cc b/winsup/cygwin/fhandler_disk_file.cc index a8e9ea8e6..f86432a31 100644 --- a/winsup/cygwin/fhandler_disk_file.cc +++ b/winsup/cygwin/fhandler_disk_file.cc @@ -632,7 +632,7 @@ fhandler_disk_file::opendir () set_errno (ENOMEM); goto free_dirname; } - else if (access_worker (pc, R_OK) != 0) + else if (access_worker (pc, R_OK, this) != 0) goto free_dirent; else { |