* 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:
Christopher Faylor
2002-05-31 20:30:36 +00:00
parent ea55e3f7f3
commit 18c04cc4b2
4 changed files with 13 additions and 3 deletions

View File

@ -216,6 +216,7 @@ fhandler_proc::readdir (DIR * dir)
}
found++;
}
set_errno (ENMFILE);
return NULL;
}