Removed useless tests. Replace g_malloc + memset by g_malloc0 Replace

* proclist.c: (glibtop_get_proclist_s): Removed useless tests.
	* procmap.c: (glibtop_get_proc_map_s): Replace g_malloc + memset
	by g_malloc0
	* procstate.c: (glibtop_get_proc_state_s): Replace strncpy by g_strlcpy.
This commit is contained in:
Benoît Dejean
2004-06-06 21:23:56 +00:00
parent 7de929d2d7
commit fe494bc846
4 changed files with 10 additions and 7 deletions

View File

@@ -1,3 +1,10 @@
2004-06-06 Benoît Dejean <tazforever@dlfp.org>
* proclist.c: (glibtop_get_proclist_s): Removed useless tests.
* procmap.c: (glibtop_get_proc_map_s): Replace g_malloc + memset
by g_malloc0
* procstate.c: (glibtop_get_proc_state_s): Replace strncpy by g_strlcpy.
2004-05-25 Benoît Dejean <tazforever@dlfp.org>
* loadavg.c: (glibtop_get_loadavg_s):