Hello community, here is the log from the commit of package lkcdutils checked in at Thu Dec 7 20:56:46 CET 2006. -------- --- lkcdutils/lkcdutils.changes 2006-11-19 22:29:46.000000000 +0100 +++ /mounts/work_src_done/STABLE/lkcdutils/lkcdutils.changes 2006-12-01 22:58:49.000000000 +0100 @@ -1,0 +2,5 @@ +Fri Dec 1 22:55:32 CET 2006 - jblunck@suse.de + +- fix the ps.sial to work with SLES9 kernels too (#184469) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lkcdutils.spec ++++++ --- /var/tmp/diff_new_pack.HDLhA5/_old 2006-12-07 20:56:27.000000000 +0100 +++ /var/tmp/diff_new_pack.HDLhA5/_new 2006-12-07 20:56:27.000000000 +0100 @@ -14,7 +14,7 @@ BuildRequires: glib2-devel libelf popt-devel Summary: Linux Kernel Crash Dump (LKCD) Utilities Version: 7.0.1 -Release: 43 +Release: 45 License: GNU General Public License (GPL) Group: System/Kernel # Original source is from Sourceforge CVS: @@ -182,6 +182,8 @@ #/usr/sbin/netdump-login-client %changelog -n lkcdutils +* Fri Dec 01 2006 - jblunck@suse.de +- fix the ps.sial to work with SLES9 kernels too (#184469) * Sun Nov 19 2006 - schwab@suse.de - Don't use kernel headers. * Sun Nov 19 2006 - ro@suse.de ++++++ lkcdutils-ps.sial.patch ++++++ --- /var/tmp/diff_new_pack.HDLhA5/_old 2006-12-07 20:56:28.000000000 +0100 +++ /var/tmp/diff_new_pack.HDLhA5/_new 2006-12-07 20:56:28.000000000 +0100 @@ -1,20 +1,36 @@ ---- lkcdutils/lib/libsial/scripts/ps.sial.org 2006-06-07 17:40:55.713926386 +0900 -+++ lkcdutils/lib/libsial/scripts/ps.sial 2006-06-07 17:39:15.809926386 +0900 -@@ -98,7 +98,7 @@ +--- + lib/libsial/scripts/ps.sial | 14 ++++++++++++-- + 1 file changed, 12 insertions(+), 2 deletions(-) + +Index: lkcdutils/lib/libsial/scripts/ps.sial +=================================================================== +--- lkcdutils.orig/lib/libsial/scripts/ps.sial ++++ lkcdutils/lib/libsial/scripts/ps.sial +@@ -98,7 +98,12 @@ int getasattr(task_t *t, int f) switch(f) { case 1: - return t->mm->rss; -+ return t->mm->_file_rss.counter; ++ if (LINUX_RELEASE < 0x0002060f) ++ { ++ return t->mm->rss; ++ } else { ++ return t->mm->_file_rss.counter; ++ } case 2: return t->mm->total_vm; -@@ -335,7 +335,7 @@ +@@ -335,7 +340,12 @@ int ps() { task_t *v=(task_t*)0; -int j=v->mm->rss; -+int j=v->mm->_file_rss.counter; ++if (LINUX_RELEASE < 0x0002060f) ++{ ++ int j=v->mm->rss; ++} else { ++ int j=v->mm->_file_rss.counter; ++} // // for functions that are command entry points, sial ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org