summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-12-15 04:16:42 +0000
committerChristopher Faylor <me@cgf.cx>2003-12-15 04:16:42 +0000
commit9908d9977b131249201b9c19219fd7d61fd65701 (patch)
treef57144fb183b3f75b68602d708a6704fde7be29a /winsup/cygwin/fhandler.cc
parent228f99a6c1a60d778fe0182ad9e66b8cd755daf8 (diff)
downloadcygnal-9908d9977b131249201b9c19219fd7d61fd65701.tar.gz
cygnal-9908d9977b131249201b9c19219fd7d61fd65701.tar.bz2
cygnal-9908d9977b131249201b9c19219fd7d61fd65701.zip
* 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.cc')
-rw-r--r--winsup/cygwin/fhandler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc
index d9d377004..9be543a06 100644
--- a/winsup/cygwin/fhandler.cc
+++ b/winsup/cygwin/fhandler.cc
@@ -328,7 +328,7 @@ fhandler_base::device_access_denied (int flags)
if (!mode)
mode |= R_OK;
- return access_worker (pc, mode);
+ return access_worker (pc, mode, this);
}
/* Open system call handler function. */