**** Merged from LIBGTOP_STABLE_1_0 ****
2000-01-22 Martin Baulig <martin@home-of-linux.org> * procargs.c (glibtop_get_proc_args_s): Set correct `buf->size' and `buf->flags' fields when `max_length' was given. Fixes #5183.
This commit is contained in:
committed by
Martin Baulig
parent
bc86c09ede
commit
1b8d205eb0
@@ -1,3 +1,8 @@
|
|||||||
|
2000-01-22 Martin Baulig <martin@home-of-linux.org>
|
||||||
|
|
||||||
|
* procargs.c (glibtop_get_proc_args_s): Set correct `buf->size' and
|
||||||
|
`buf->flags' fields when `max_length' was given. Fixes #5183.
|
||||||
|
|
||||||
1999-11-28 Martin Baulig <martin@home-of-linux.org>
|
1999-11-28 Martin Baulig <martin@home-of-linux.org>
|
||||||
|
|
||||||
* procstate.c (glibtop_get_procstate_s): Stat "/proc/<pid>" instead
|
* procstate.c (glibtop_get_procstate_s): Stat "/proc/<pid>" instead
|
||||||
|
@@ -65,6 +65,11 @@ glibtop_get_proc_args_s (glibtop *server, glibtop_proc_args *buf,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*(retval+len) = 0;
|
||||||
|
|
||||||
|
buf->size = len;
|
||||||
|
buf->flags = _glibtop_sysdeps_proc_args;
|
||||||
|
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user