Hello community, here is the log from the commit of package lkcdutils checked in at Thu Mar 15 01:44:26 CET 2007. -------- --- lkcdutils/lkcdutils.changes 2007-01-27 17:52:13.000000000 +0100 +++ /mounts/work_src_done/STABLE/lkcdutils/lkcdutils.changes 2007-03-13 13:35:48.220206000 +0100 @@ -1,0 +2,7 @@ +Tue Mar 13 13:35:02 CET 2007 - bwalle@suse.de + +- adapt ps.sial to work around a limitation of the sial interpreter + that prevents anonymous structures from being handled corretly + (#184469, #252357) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lkcdutils.spec ++++++ --- /var/tmp/diff_new_pack.mN8963/_old 2007-03-15 01:44:12.000000000 +0100 +++ /var/tmp/diff_new_pack.mN8963/_new 2007-03-15 01:44:12.000000000 +0100 @@ -12,10 +12,10 @@ Name: lkcdutils %define tarversion svn-r1339 -BuildRequires: binutils-devel glib2-devel libelf popt-devel +BuildRequires: glib2-devel libelf popt-devel Summary: Linux Kernel Crash Dump (LKCD) Utilities Version: 7.0.1 -Release: 56 +Release: 61 License: GNU General Public License (GPL) Group: System/Kernel # Original source is from Sourceforge SVN @@ -203,7 +203,11 @@ #/usr/sbin/netdump-add-client #/usr/sbin/netdump-login-client -%changelog -n lkcdutils +%changelog +* Tue Mar 13 2007 - bwalle@suse.de +- adapt ps.sial to work around a limitation of the sial interpreter + that prevents anonymous structures from being handled corretly + (#184469, #252357) * Sat Jan 27 2007 - bwalle@suse.de - upstream fixes o Fix a bug in array dimensioning ++++++ lkcdutils-ps.sial.patch ++++++ --- /var/tmp/diff_new_pack.mN8963/_old 2007-03-15 01:44:13.000000000 +0100 +++ /var/tmp/diff_new_pack.mN8963/_new 2007-03-15 01:44:13.000000000 +0100 @@ -1,12 +1,12 @@ --- - lib/libsial/scripts/ps.sial | 14 ++++++++++++-- - 1 file changed, 12 insertions(+), 2 deletions(-) + lib/libsial/scripts/ps.sial | 11 +++++++---- + 1 file changed, 7 insertions(+), 4 deletions(-) -Index: lkcdutils/lib/libsial/scripts/ps.sial +Index: lkcdutils-svn-r1339/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) +--- lkcdutils-svn-r1339.orig/lib/libsial/scripts/ps.sial ++++ lkcdutils-svn-r1339/lib/libsial/scripts/ps.sial +@@ -98,7 +98,13 @@ int getasattr(task_t *t, int f) switch(f) { case 1: @@ -15,22 +15,19 @@ + { + return t->mm->rss; + } else { -+ return t->mm->_file_rss.counter; ++ long long *rss = (long long *)&(t->mm->_file_rss); ++ return *rss; + } case 2: return t->mm->total_vm; -@@ -335,7 +340,12 @@ int +@@ -334,9 +340,6 @@ pstree(task_t *t, int mode) + int ps() { - task_t *v=(task_t*)0; +-task_t *v=(task_t*)0; -int j=v->mm->rss; -+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 + // defines argv[] and argc as global variables. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org