* 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:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user