diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2012-01-20 16:53:26 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2012-01-20 16:53:26 +0400 |
commit | 5259273091c45c6338e3452f8571f32884f385e4 (patch) | |
tree | f7b795e4e6a88e11ede1b7b1f28f13a3c1941875 /winsup/cygwin/fhandler_registry.cc | |
parent | c3a549f6878359c9f5b950b58e16a1a2beed3290 (diff) |
* fhandler.h (fhandler_registry::opendir): Declare.
* fhandler_registry.cc (fhandler_registry::opendir): New function.
Diffstat (limited to 'winsup/cygwin/fhandler_registry.cc')
-rw-r--r-- | winsup/cygwin/fhandler_registry.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler_registry.cc b/winsup/cygwin/fhandler_registry.cc index 50233a886..5f6246439 100644 --- a/winsup/cygwin/fhandler_registry.cc +++ b/winsup/cygwin/fhandler_registry.cc @@ -537,6 +537,14 @@ fhandler_registry::fstat (struct __stat64 *buf) return 0; } +DIR * +fhandler_registry::opendir (int fd) +{ + /* Skip fhandler_proc::opendir, which allocates dir->_d_handle for its + own devilish purposes... */ + return fhandler_virtual::opendir (fd); +} + int fhandler_registry::readdir (DIR *dir, dirent *de) { |