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:
committed by
Kjartan Maraas
parent
36ba38cdc4
commit
68cebe2aaf
@@ -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>
|
2003-06-10 Kjartan Maraas <kmaraas@gnome.org>
|
||||||
|
|
||||||
* sysdeps/freebsd/glibtop_machine.h:
|
* sysdeps/freebsd/glibtop_machine.h:
|
||||||
|
@@ -7,7 +7,7 @@ Name: libgtop
|
|||||||
Description: Portable System Access Library
|
Description: Portable System Access Library
|
||||||
Requires: glib-2.0
|
Requires: glib-2.0
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Libs: -L${libdir} @LIBGTOP_LIBS@
|
Libs: -L${libdir} @LIBGTOP_LIBS@ @LIBGTOP_EXTRA_LIBS@
|
||||||
Cflags: -I${includedir}/libgtop-2.0
|
Cflags: -I${includedir}/libgtop-2.0
|
||||||
|
|
||||||
|
|
||||||
|
@@ -75,7 +75,7 @@ glibtop_get_mem_s (glibtop *server, glibtop_mem *buf)
|
|||||||
buf->buffer = strtoul (p, &p, 0);
|
buf->buffer = strtoul (p, &p, 0);
|
||||||
buf->cached = 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;
|
buf->flags = _glibtop_sysdeps_mem;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user