* fhandler_proc.cc (fhandler_proc::readdir): Set errno when no more files.
* fhandler_process.cc (fhandler_process::readdir): Ditto. * fhandler_registry.cc (fhandler_registry::readdir): Ditto.
This commit is contained in:
@ -216,6 +216,7 @@ fhandler_proc::readdir (DIR * dir)
|
||||
}
|
||||
found++;
|
||||
}
|
||||
set_errno (ENMFILE);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user