* fhandler.h (fhandler_process::closedir): Declare.

* fhandler_process.cc (fhandler_process::closedir): New function to
	avoid a SEGV in fhandler_proc::closedir.
This commit is contained in:
Corinna Vinschen
2011-10-10 18:59:56 +00:00
parent 378eaba88b
commit 4c34aaba55
3 changed files with 13 additions and 0 deletions

View File

@ -209,6 +209,12 @@ fhandler_process::opendir (int fd)
return dir;
}
int
fhandler_process::closedir (DIR *dir)
{
return fhandler_virtual::closedir (dir);
}
int
fhandler_process::readdir (DIR *dir, dirent *de)
{