Hello community, here is the log from the commit of package lkcdutils checked in at Mon May 21 15:46:45 CEST 2007. -------- --- lkcdutils/lkcdutils.changes 2007-04-16 17:10:21.000000000 +0200 +++ /mounts/work_src_done/STABLE/lkcdutils/lkcdutils.changes 2007-05-21 15:26:21.403043000 +0200 @@ -1,0 +2,5 @@ +Mon May 21 15:07:57 CEST 2007 - bwalle@suse.de + +- add patch from ptesarik@suse.cz to fix composite types + +------------------------------------------------------------------- New: ---- lkcdutils-composite-types.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lkcdutils.spec ++++++ --- /var/tmp/diff_new_pack.RA5101/_old 2007-05-21 15:46:26.000000000 +0200 +++ /var/tmp/diff_new_pack.RA5101/_new 2007-05-21 15:46:26.000000000 +0200 @@ -16,7 +16,7 @@ BuildRequires: bison flex module-init-tools ncurses-devel Summary: Linux Kernel Crash Dump (LKCD) Utilities Version: 7.0.1 -Release: 69 +Release: 78 License: GNU General Public License (GPL) Group: System/Kernel # Original source is from Sourceforge SVN @@ -52,6 +52,7 @@ Patch26: lkcdutils-fix-missing-filenames.diff Patch27: lkcdutils-fix-wrong-default-cpu-initialisation.diff Patch28: lkcdutils-add-cflags.diff +Patch29: lkcdutils-composite-types.patch Patch71: lkcdutils-netdump-secure_mode.patch Patch75: lkcdutils-netdump-doc.patch Patch76: lkcdutils-savedump.patch @@ -111,6 +112,7 @@ %patch26 -p1 %patch27 -p1 %patch28 -p1 +%patch29 -p2 %patch77 -p1 %patch80 -p1 cp %{S:4} PATCHES @@ -204,6 +206,8 @@ #/usr/sbin/netdump-login-client %changelog +* Mon May 21 2007 - bwalle@suse.de +- add patch from ptesarik@suse.cz to fix composite types * Mon Apr 16 2007 - bwalle@suse.de - fix failure of first 'rd' call (#264857) - honor RPM_OPT_FLAGS when building lcrash ++++++ lkcdutils-composite-types.patch ++++++ Index: trunk/lkcdutils/lib/libklib/kl_stabs.c =================================================================== --- trunk/lkcdutils/lib/libklib/kl_stabs.c (revision 1376) +++ trunk/lkcdutils/lib/libklib/kl_stabs.c (working copy) @@ -1851,8 +1851,8 @@ strcpy(typestr, KL_TYPESTR_UNION); break; } + strcat(typestr, " "); if (sp->st_name) { - strcat(typestr, " "); strcat(typestr, sp->st_name); strcat(typestr, " "); } @@ -2062,10 +2062,9 @@ sprintf(typestr, "<type=%d>", rsp->st_type); break; } - if (rsp->st_name) { - strcat(typestr, " "); + strcat(typestr, " "); + if (rsp->st_name) strcat(typestr, rsp->st_name); - } got_typedef: if (ptrcnt) { strcat(typestr, " "); Index: trunk/lkcdutils/lib/libklib/kl_dwarf.c =================================================================== --- trunk/lkcdutils/lib/libklib/kl_dwarf.c (revision 1376) +++ trunk/lkcdutils/lib/libklib/kl_dwarf.c (working copy) @@ -1028,9 +1028,7 @@ /* First, check to see if this is an anonymous union or struct... */ - if (!strcmp(source->kl_typestr, KL_TYPESTR_STRUCT) || - !strcmp(source->kl_typestr, KL_TYPESTR_STRUCT" ") || - !strcmp(source->kl_typestr, KL_TYPESTR_UNION) || + if (!strcmp(source->kl_typestr, KL_TYPESTR_STRUCT" ") || !strcmp(source->kl_typestr, KL_TYPESTR_UNION" ")) { source->kl_flags |= TYP_ANONYMOUS_FLG; } Index: trunk/lkcdutils/lib/libklib/kl_symbol.c =================================================================== --- trunk/lkcdutils/lib/libklib/kl_symbol.c (revision 1376) +++ trunk/lkcdutils/lib/libklib/kl_symbol.c (working copy) @@ -1066,12 +1066,10 @@ } else { fprintf(kl_stdout, " []\n"); } - } else if((strcmp(kltp->kl_typestr, - KL_TYPESTR_STRUCT) == 0) || - (strcmp(kltp->kl_typestr, - KL_TYPESTR_STRUCT" ") == 0) || - (strcmp(kltp->kl_typestr, - KL_TYPESTR_UNION) == 0)){ + } else if(strcmp(kltp->kl_typestr, + KL_TYPESTR_STRUCT" ") == 0 || + strcmp(kltp->kl_typestr, + KL_TYPESTR_UNION" ") == 0){ /* anonymous struct or union */ fprintf(kl_stdout, " {...}\n"); } else { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de