Hello community, here is the log from the commit of package lkcdutils checked in at Tue Apr 11 10:53:37 CEST 2006. -------- --- lkcdutils/lkcdutils.changes 2006-03-29 09:05:43.000000000 +0200 +++ STABLE/lkcdutils/lkcdutils.changes 2006-04-10 10:38:54.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Apr 10 10:36:14 CEST 2006 - hare@suse.de + +- Fix crash when started with args (#163769 - LTC22923) + +------------------------------------------------------------------- New: ---- lkcdutils-s390-args-crash ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lkcdutils.spec ++++++ --- /var/tmp/diff_new_pack.d7ojmc/_old 2006-04-11 10:53:15.000000000 +0200 +++ /var/tmp/diff_new_pack.d7ojmc/_new 2006-04-11 10:53:15.000000000 +0200 @@ -14,7 +14,7 @@ BuildRequires: glib2-devel libelf popt-devel Summary: Linux Kernel Crash Dump (LKCD) Utilities Version: 7.0.1 -Release: 10 +Release: 12 License: GPL Group: System/Kernel # Original source is from Sourceforge CVS: @@ -39,6 +39,7 @@ Patch13: lkcdutils-fix-compat-dumps Patch14: lkcdutils-save-kerntypes.patch Patch15: lkcdutils-handle-version-9.patch +Patch16: lkcdutils-s390-args-crash Patch20: lkcdutils-ia64-fujitsu.patch Patch71: lkcdutils-netdump-secure_mode.patch Patch75: lkcdutils-netdump-doc.patch @@ -86,6 +87,7 @@ %patch13 %patch14 -p3 %patch15 -p3 +%patch16 -p1 cp %{S:4} PATCHES %build @@ -167,6 +169,8 @@ #/usr/sbin/netdump-login-client %changelog -n lkcdutils +* Mon Apr 10 2006 - hare@suse.de +- Fix crash when started with args (#163769 - LTC22923) * Wed Mar 29 2006 - hare@suse.de - Handle version 9 dumps correctly (#149136) - Fix savedump to save kerntypes. ++++++ lkcdutils-s390-args-crash ++++++ Index: lkcdutils/libklib/kl_util.c =================================================================== RCS file: /home/cvs/lkcd/lkcdutils/lib/libklib/kl_util.c,v retrieving revision 1.4 diff -a -u -r1.4 kl_util.c --- lkcdutils/lib/libklib/kl_util.c 29 Jul 2005 12:22:03 -0000 1.4 +++ lkcdutils/lib/libklib/kl_util.c 5 Apr 2006 07:36:03 -0000 @@ -590,19 +590,10 @@ */ void kl_s390tod_to_timeval(uint64_t todval, struct timeval *xtime) { - if(KL_LINUX_RELEASE < LINUX_2_6_0){ - /* adjust todclock to 1970 */ - todval -= 0x8126d60e46000000LL - (0x3c26700LL * 1000000 * 4096); + /* adjust todclock to 1970 */ + todval -= 0x8126d60e46000000LL - (0x3c26700LL * 1000000 * 4096); - todval >>= 12; - xtime->tv_sec = todval / 1000000; - xtime->tv_usec = todval % 1000000; - } else { - unsigned long long sec; - sec = todval >> 12; - sec = sec / 1000000; - xtime->tv_sec = sec; - todval -= (sec * 1000000) << 12; - xtime->tv_usec = ((todval * 1000) >> 12) / 1000; - } + todval >>= 12; + xtime->tv_sec = todval / 1000000; + xtime->tv_usec = todval % 1000000; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...