Fix missing build flags. Patch from Julio Merino. Fixes bug #103086. Fix

2003-06-10  Kjartan Maraas  <set EMAIL_ADDRESS environment variable>

	* libgtop-2.0.pc.in: Fix missing build flags. Patch from
	Julio Merino. Fixes bug #103086.
	* sysdeps/linux/mem.c: (glibtop_get_mem_s): Fix memory calculation
	under Linux. Patch from <rwahl@gmx.de>. Fixes bug #68626.

2003-06-10  Kjartan Maraas  <kmaraas@gnome.org>
This commit is contained in:
Kjartan Maraas
2003-06-10 17:09:39 +00:00
committed by Kjartan Maraas
parent 36ba38cdc4
commit 68cebe2aaf
3 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
2003-06-10 Kjartan Maraas <set EMAIL_ADDRESS environment variable>
* libgtop-2.0.pc.in: Fix missing build flags. Patch from
Julio Merino. Fixes bug #103086.
* sysdeps/linux/mem.c: (glibtop_get_mem_s): Fix memory calculation
under Linux. Patch from <rwahl@gmx.de>. Fixes bug #68626.
2003-06-10 Kjartan Maraas <kmaraas@gnome.org>
* sysdeps/freebsd/glibtop_machine.h:

View File

@@ -7,7 +7,7 @@ Name: libgtop
Description: Portable System Access Library
Requires: glib-2.0
Version: @VERSION@
Libs: -L${libdir} @LIBGTOP_LIBS@
Libs: -L${libdir} @LIBGTOP_LIBS@ @LIBGTOP_EXTRA_LIBS@
Cflags: -I${includedir}/libgtop-2.0

View File

@@ -75,7 +75,7 @@ glibtop_get_mem_s (glibtop *server, glibtop_mem *buf)
buf->buffer = strtoul (p, &p, 0);
buf->cached = strtoul (p, &p, 0);
buf->user = buf->total - buf->free - buf->shared - buf->buffer;
buf->user = buf->total - buf->free - buf->cached - buf->buffer;
buf->flags = _glibtop_sysdeps_mem;
}