**** Merged from HEAD ****

1999-03-17  Martin Baulig  <martin@home-of-linux.org>

	* first.c, second.c: Fixed a bug that caused a core dump when
	the sysdeps code does not return all data.
This commit is contained in:
Martin Baulig
1999-05-27 21:42:13 +00:00
committed by Martin Baulig
parent b08968e644
commit 79e756a2f7
3 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
1999-03-17 Martin Baulig <martin@home-of-linux.org>
* first.c, second.c: Fixed a bug that caused a core dump when
the sysdeps code does not return all data.
1998-11-22 Martin Baulig <baulig@taurus.uni-trier.de> 1998-11-22 Martin Baulig <baulig@taurus.uni-trier.de>
* netload.c: Call inet_ntoa () to get address and subnet * netload.c: Call inet_ntoa () to get address and subnet

View File

@@ -344,7 +344,7 @@ main (int argc, char *argv [])
printf ("Proc_Args PID %5d (0x%08lx): %lu - '%s'\n", (int) pid, printf ("Proc_Args PID %5d (0x%08lx): %lu - '%s'\n", (int) pid,
(unsigned long) data.proc_args.flags, (unsigned long) data.proc_args.flags,
(unsigned long) data.proc_args.size, (unsigned long) data.proc_args.size,
args); args ? args : "");
glibtop_free (args); glibtop_free (args);
@@ -454,7 +454,7 @@ main (int argc, char *argv [])
printf ("Proc_Args PID %5d (0x%08lx): %lu - '%s'\n", (int) ppid, printf ("Proc_Args PID %5d (0x%08lx): %lu - '%s'\n", (int) ppid,
(unsigned long) data.proc_args.flags, (unsigned long) data.proc_args.flags,
(unsigned long) data.proc_args.size, (unsigned long) data.proc_args.size,
args); args ? args : "");
glibtop_free (args); glibtop_free (args);
@@ -565,7 +565,7 @@ main (int argc, char *argv [])
printf ("Proc_Args PID %5d (0x%08lx): %lu - '%s'\n", 1, printf ("Proc_Args PID %5d (0x%08lx): %lu - '%s'\n", 1,
(unsigned long) data.proc_args.flags, (unsigned long) data.proc_args.flags,
(unsigned long) data.proc_args.size, (unsigned long) data.proc_args.size,
args); args ? args : "");
glibtop_free (args); glibtop_free (args);

View File

@@ -150,7 +150,7 @@ output (pid_t pid)
printf ("Proc_Args PID %5d (0x%08lx): %lu - '%s'\n", (int) pid, printf ("Proc_Args PID %5d (0x%08lx): %lu - '%s'\n", (int) pid,
(unsigned long) data.proc_args.flags, (unsigned long) data.proc_args.flags,
(unsigned long) data.proc_args.size, (unsigned long) data.proc_args.size,
args); args ? args : "");
glibtop_free (args); glibtop_free (args);