From 9908d9977b131249201b9c19219fd7d61fd65701 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 15 Dec 2003 04:16:42 +0000 Subject: * 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. --- winsup/cygwin/winsup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/winsup.h') diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index 26be3d0c3..2d60fcd52 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -296,7 +296,7 @@ int symlink_worker (const char *, const char *, bool, bool) __attribute__ ((regparm (3))); class path_conv; -int access_worker (path_conv&, int) __attribute__ ((regparm (2))); +int access_worker (path_conv&, int, class fhandler_base * = NULL) __attribute__ ((regparm (3))); int fcntl_worker (int fd, int cmd, void *arg); -- cgit v1.2.3