Hello community,
here is the log from the commit of package limal-bootloader
checked in at Fri Nov 17 13:06:29 CET 2006.
--------
--- limal-bootloader/limal-bootloader.changes 2006-10-26 15:03:28.000000000 +0200
+++ /mounts/work_src_done/STABLE/limal-bootloader/limal-bootloader.changes 2006-11-17 12:19:24.000000000 +0100
@@ -1,0 +2,5 @@
+Fri Nov 17 12:07:09 CET 2006 - jplack@suse.de
+
+- fix lines_cache corruption (#221186)
+
+-------------------------------------------------------------------
Old:
----
limal-bootloader-1.2.3.tar.bz2
New:
----
limal-bootloader-1.2.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ limal-bootloader.spec ++++++
--- /var/tmp/diff_new_pack.gHPSye/_old 2006-11-17 13:03:52.000000000 +0100
+++ /var/tmp/diff_new_pack.gHPSye/_new 2006-11-17 13:03:52.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package limal-bootloader (Version 1.2.3)
+# spec file for package limal-bootloader (Version 1.2.4)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,16 +11,16 @@
# norootforbuild
Name: limal-bootloader
-Version: 1.2.3
+Version: 1.2.4
Release: 1
-License: GNU General Public License (GPL) - all versions
+License: GNU General Public License (GPL)
Group: System/Management
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: limal-bootloader-1.2.3.tar.bz2
+Source0: limal-bootloader-1.2.4.tar.bz2
prefix: /usr
%define swiglibdir %(swig -swiglib)
-BuildRequires: curl docbook_4 gcc-c++ limal-devel limal-devtools limal-perl perl-Bootloader perl-gettext sgml-skel
Requires: perl-Bootloader limal-perl limal
+BuildRequires: -perl-Bootloader curl docbook_4 gcc-c++ limal-devel limal-devtools perl-gettext sgml-skel
Summary: LiMaL--Boot Loader Configuration Library
%description
@@ -71,7 +71,7 @@
Ladislav Slezak
%prep
-%setup -n limal-bootloader-1.2.3
+%setup -n limal-bootloader-1.2.4
%build
%{prefix}/bin/limaltool limalautoconf
@@ -114,6 +114,8 @@
%doc %{_prefix}/share/doc/packages/limal-bootloader
%changelog -n limal-bootloader
+* Fri Nov 17 2006 - jplack@suse.de
+- fix lines_cache corruption (#221186)
* Thu Oct 26 2006 - jplack@suse.de
- do not core dump if $loader is not yet initialized (#213873)
* Mon Oct 09 2006 - jplack@suse.de
++++++ limal-bootloader-1.2.3.tar.bz2 -> limal-bootloader-1.2.4.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/limal-bootloader-1.2.3/VERSION new/limal-bootloader-1.2.4/VERSION
--- old/limal-bootloader-1.2.3/VERSION 2006-10-26 15:14:25.000000000 +0200
+++ new/limal-bootloader-1.2.4/VERSION 2006-11-17 12:06:52.000000000 +0100
@@ -1 +1 @@
-1.2.3
+1.2.4
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/limal-bootloader-1.2.3/configure new/limal-bootloader-1.2.4/configure
--- old/limal-bootloader-1.2.3/configure 2006-10-26 15:15:06.000000000 +0200
+++ new/limal-bootloader-1.2.4/configure 2006-11-17 12:17:45.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.60 for limal-bootloader 1.2.3.
+# Generated by GNU Autoconf 2.60 for limal-bootloader 1.2.4.
#
# Report bugs to http://www.suse.de/feedback.
#
@@ -713,8 +713,8 @@
# Identity of this package.
PACKAGE_NAME='limal-bootloader'
PACKAGE_TARNAME='limal-bootloader'
-PACKAGE_VERSION='1.2.3'
-PACKAGE_STRING='limal-bootloader 1.2.3'
+PACKAGE_VERSION='1.2.4'
+PACKAGE_STRING='limal-bootloader 1.2.4'
PACKAGE_BUGREPORT='http://www.suse.de/feedback'
ac_unique_file="RPMNAME"
@@ -1426,7 +1426,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures limal-bootloader 1.2.3 to adapt to many kinds of systems.
+\`configure' configures limal-bootloader 1.2.4 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1497,7 +1497,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of limal-bootloader 1.2.3:";;
+ short | recursive ) echo "Configuration of limal-bootloader 1.2.4:";;
esac
cat <<\_ACEOF
@@ -1608,7 +1608,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-limal-bootloader configure 1.2.3
+limal-bootloader configure 1.2.4
generated by GNU Autoconf 2.60
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1622,7 +1622,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by limal-bootloader $as_me 1.2.3, which was
+It was created by limal-bootloader $as_me 1.2.4, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ $0 $@
@@ -2423,7 +2423,7 @@
# Define the identity of the package.
PACKAGE='limal-bootloader'
- VERSION='1.2.3'
+ VERSION='1.2.4'
cat >>confdefs.h <<_ACEOF
@@ -2650,7 +2650,7 @@
-VERSION="1.2.3"
+VERSION="1.2.4"
RPMNAME="limal-bootloader"
RPMARCH=""
RPMLIB="bootloader"
@@ -23586,7 +23586,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by limal-bootloader $as_me 1.2.3, which was
+This file was extended by limal-bootloader $as_me 1.2.4, which was
generated by GNU Autoconf 2.60. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -23639,7 +23639,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-limal-bootloader config.status 1.2.3
+limal-bootloader config.status 1.2.4
configured by $0, generated by GNU Autoconf 2.60,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/limal-bootloader-1.2.3/configure.in new/limal-bootloader-1.2.4/configure.in
--- old/limal-bootloader-1.2.3/configure.in 2006-10-26 15:14:52.000000000 +0200
+++ new/limal-bootloader-1.2.4/configure.in 2006-11-17 12:13:16.000000000 +0100
@@ -3,7 +3,7 @@
dnl -- This file is generated by limalautoconf - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(limal-bootloader, 1.2.3, http://www.suse.de/feedback, limal-bootloader)
+AC_INIT(limal-bootloader, 1.2.4, http://www.suse.de/feedback, limal-bootloader)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -17,7 +17,7 @@
AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs
dnl Important LiMaL variables
-VERSION="1.2.3"
+VERSION="1.2.4"
RPMNAME="limal-bootloader"
RPMARCH=""
RPMLIB="bootloader"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/limal-bootloader-1.2.3/doc/Makefile.in new/limal-bootloader-1.2.4/doc/Makefile.in
--- old/limal-bootloader-1.2.3/doc/Makefile.in 2006-10-26 15:15:12.000000000 +0200
+++ new/limal-bootloader-1.2.4/doc/Makefile.in 2006-11-17 12:17:43.000000000 +0100
@@ -239,9 +239,9 @@
exit 1;; \
esac; \
done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \
cd $(top_srcdir) && \
- $(AUTOMAKE) --gnu doc/Makefile
+ $(AUTOMAKE) --foreign doc/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/limal-bootloader-1.2.3/limal-bootloader.spec.in new/limal-bootloader-1.2.4/limal-bootloader.spec.in
--- old/limal-bootloader-1.2.3/limal-bootloader.spec.in 2006-10-26 15:14:25.000000000 +0200
+++ new/limal-bootloader-1.2.4/limal-bootloader.spec.in 2006-10-31 13:25:10.000000000 +0100
@@ -1,8 +1,8 @@
@HEADER-COMMENT@
@HEADER@
-BuildRequires: curl docbook_4 gcc-c++ limal-devel limal-devtools limal-perl perl-Bootloader perl-gettext sgml-skel
Requires: perl-Bootloader limal-perl limal
+BuildRequires: curl docbook_4 gcc-c++ limal-devel limal-devtools -perl-Bootloader perl-gettext sgml-skel
Summary: -
%description
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/limal-bootloader-1.2.3/src/Bootloader_API.pm new/limal-bootloader-1.2.4/src/Bootloader_API.pm
--- old/limal-bootloader-1.2.3/src/Bootloader_API.pm 2006-10-26 14:55:42.000000000 +0200
+++ new/limal-bootloader-1.2.4/src/Bootloader_API.pm 2006-11-16 18:29:50.000000000 +0100
@@ -18,8 +18,8 @@
# create a new bootloader object
my $lib_ref = Bootloader::Library->new();
-my %lines_cache = ();
-
+my @lines_cache = ();
+my $lines_cache_index = 0;
# Log collected log messages
sub DumpLog {
@@ -56,7 +56,8 @@
my ($lt) = @_;
my $ret = $lib_ref->SetLoaderType($lt);
- %lines_cache = ();
+ @lines_cache = ();
+ $lines_cache_index = 0;
DumpLog();
return $ret;
}
@@ -150,8 +151,9 @@
my %globalsettings = %{$lib_ref->GetGlobalSettings () || {}};
# remove "__lines" key - it's internal
- $globalsettings{"lines_cache_id"} = 0;
- $lines_cache{0} = delete( $globalsettings{'__lines'} );
+ my $idx = $lines_cache_index++;
+ $globalsettings{"lines_cache_id"} = $idx;
+ $lines_cache[$idx] = delete( $globalsettings{'__lines'} );
# if there is "stage1_dev" key then convert the values to single string
if (defined $globalsettings{'stage1_dev'})
@@ -182,9 +184,11 @@
$globalsettings{'stage1_dev'} = \@devices;
}
- my $index = 0+$globalsettings{"lines_cache_id"};
+
+ my $index = exists($globalsettings{"lines_cache_id"}) ?
+ $globalsettings{"lines_cache_id"} : undef;
if (defined($index)) {
- $globalsettings{"__lines"} = $lines_cache{$index};
+ $globalsettings{"__lines"} = $lines_cache[$index];
}
my $ret = $lib_ref->SetGlobalSettings (\%globalsettings);
@@ -196,13 +200,12 @@
sub getSections() {
my @sections = @{$lib_ref->GetSections () || []};
- my $index = 0;
# remove "__lines" key - it's internal
# FIXME: this should be done in Bootloader::Core which can do
# house holding of its internals by itself!!
foreach my $section (@sections) {
- $index = $index + 1;
- $lines_cache{$index} = $section->{'__lines'};
+ my $index = $lines_cache_index++;
+ $lines_cache[$index] = $section->{'__lines'};
delete $section->{'__lines'};
$section->{"lines_cache_id"} = $index;
}
@@ -216,10 +219,11 @@
my @sections = @{$sections || []};
foreach my $section (@sections) {
- my $index = $section->{"lines_cache_id"};
+ my $index = exists($section->{"lines_cache_id"}) ?
+ $section->{"lines_cache_id"} : undef;
if (defined($index))
{
- $section->{"__lines"} = $lines_cache{$index};
+ $section->{"__lines"} = $lines_cache[$index];
}
}
my $ret = $lib_ref->SetSections($sections);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/limal-bootloader-1.2.3/src/Makefile.in new/limal-bootloader-1.2.4/src/Makefile.in
--- old/limal-bootloader-1.2.3/src/Makefile.in 2006-10-26 15:15:12.000000000 +0200
+++ new/limal-bootloader-1.2.4/src/Makefile.in 2006-11-17 12:17:43.000000000 +0100
@@ -273,9 +273,9 @@
exit 1;; \
esac; \
done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
cd $(top_srcdir) && \
- $(AUTOMAKE) --gnu src/Makefile
+ $(AUTOMAKE) --foreign src/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org