* fhandler.h (fhandler_process::pid): New field.
(fhandler_process::fstat): Remove unneeded array. Set pid element. (fhandler_process::open): Ditto. (fhandler_process::fill_filebuf): Handle case where 'p' field is NULL.
This commit is contained in:
@ -1107,7 +1107,6 @@ class fhandler_proc: public fhandler_virtual
|
||||
void fill_filebuf ();
|
||||
};
|
||||
|
||||
class pinfo;
|
||||
class fhandler_registry: public fhandler_proc
|
||||
{
|
||||
public:
|
||||
@ -1125,9 +1124,10 @@ class fhandler_registry: public fhandler_proc
|
||||
void fill_filebuf ();
|
||||
};
|
||||
|
||||
struct _pinfo;
|
||||
class pinfo;
|
||||
class fhandler_process: public fhandler_proc
|
||||
{
|
||||
pid_t pid;
|
||||
pinfo *p;
|
||||
public:
|
||||
fhandler_process ();
|
||||
|
Reference in New Issue
Block a user