diff --git a/sysdeps/linux/ChangeLog b/sysdeps/linux/ChangeLog index 743dd5ce..54f80b69 100644 --- a/sysdeps/linux/ChangeLog +++ b/sysdeps/linux/ChangeLog @@ -1,4 +1,12 @@ -2004-05-19 Benoit Dejean +2004-05-26 Benoît Dejean + + * glibtop_server.h: + * open.c: + * procuid.c: Moved LINUX_VERSION macro to glibtop_server.h. + + * Changelog: Converted to UTF-8. + +2004-05-19 Benoît Dejean * glibtop_server.h (skip_line): Added test for end of string. (get_scaled): Cleaned. @@ -11,7 +19,7 @@ 2004-03-09 Bastien Nocera * cpu.c: (glibtop_get_cpu_s): fixup CPU usage calculation on 2.6 - kernels (patch by Benoit Dejean ) (Closes: #134252) + kernels (patch by Benoît Dejean ) (Closes: #134252) 2004-03-04 Bastien Nocera @@ -21,7 +29,7 @@ 2004-02-02 Sebastien Bacher * sysdeps/linux/mem.c: (glibtop_get_mem_s): patch from - Benoît Dejean to fix libtop_mem.used + Benoît Dejean to fix libtop_mem.used and glibtop_mem.shared values (Closes: #129863). 2003-12-23 Bastien Nocera @@ -37,14 +45,14 @@ * procsignal.c: (glibtop_get_proc_signal_s): * proctime.c: (glibtop_get_proc_time_s): * procuid.c: (glibtop_get_proc_uid_s): - * swap.c: (glibtop_get_swap_s): Apply patch from Benoît Dejean + * swap.c: (glibtop_get_swap_s): Apply patch from Benoît Dejean to fix overflow issues using strtol (Closes: #129881) 2003-12-23 Bastien Nocera * mem.c: (glibtop_get_mem_s): Fix calculation of used memory, - patch by Benoît Dejea, (Closes: #129863) + patch by Benoît Dejea, (Closes: #129863) 2003-12-07 Jon K Hellan diff --git a/sysdeps/linux/glibtop_server.h b/sysdeps/linux/glibtop_server.h index d96bbb33..e40c6bc6 100644 --- a/sysdeps/linux/glibtop_server.h +++ b/sysdeps/linux/glibtop_server.h @@ -31,6 +31,8 @@ G_BEGIN_DECLS #ifdef _IN_LIBGTOP +#define LINUX_VERSION(x,y,z) (0x10000*(x) + 0x100*(y) + z) + static inline char * skip_token (const char *p) { diff --git a/sysdeps/linux/open.c b/sysdeps/linux/open.c index 6943764c..4390420f 100644 --- a/sysdeps/linux/open.c +++ b/sysdeps/linux/open.c @@ -31,7 +31,6 @@ */ #include -#define LINUX_VERSION(x,y,z) (0x10000*(x) + 0x100*(y) + z) static int linux_version_code = 0; diff --git a/sysdeps/linux/procuid.c b/sysdeps/linux/procuid.c index 4ba09139..9e39c506 100644 --- a/sysdeps/linux/procuid.c +++ b/sysdeps/linux/procuid.c @@ -35,7 +35,6 @@ static const unsigned long _glibtop_sysdeps_proc_uid_stat = (1L << GLIBTOP_PROC_UID_TTY) + (1L << GLIBTOP_PROC_UID_TPGID) + (1L << GLIBTOP_PROC_UID_PRIORITY) + (1L << GLIBTOP_PROC_UID_NICE); -#define LINUX_VERSION(x,y,z) (0x10000*(x) + 0x100*(y) + z) /* Init function. */