commit aspell for openSUSE:Factory
Hello community, here is the log from the commit of package aspell for openSUSE:Factory checked in at Tue Aug 11 00:09:19 CEST 2009. -------- --- aspell/aspell.changes 2008-12-10 13:42:34.000000000 +0100 +++ aspell/aspell.changes 2009-07-20 15:28:27.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Jul 20 15:19:24 CEST 2009 - pgajdos@suse.cz + +- fixed invalid iterator [bnc#523345] + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- aspell-iterator-after-erase.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aspell.spec ++++++ --- /var/tmp/diff_new_pack.Eqq1Jm/_old 2009-08-11 00:08:56.000000000 +0200 +++ /var/tmp/diff_new_pack.Eqq1Jm/_new 2009-08-11 00:08:56.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package aspell (Version 0.60.6) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,16 +33,15 @@ %endif # Version: 0.60.6 -Release: 26 +Release: 27 Summary: A Free and Open Source Spell Checker Url: http://aspell.net/ Source: aspell-%{version}.tar.bz2 Patch1: aspell-strict-aliasing.patch -#Patch2: aspell-duplicate_name.patch Patch3: aspell-quotes.patch Patch4: aspell-epmty_file.patch -#Patch5: aspell-gcc4_3.patch Patch6: aspell-make-static-filters.patch +Patch7: aspell-iterator-after-erase.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Suggests: aspell-ispell @@ -108,6 +107,7 @@ %patch3 %patch4 %patch6 +%patch7 %build #%{suse_update_config} ++++++ aspell-iterator-after-erase.patch ++++++ --- lib/new_fmode.cpp +++ lib/new_fmode.cpp @@ -277,10 +277,13 @@ } void FilterMode::MagicString::remExtension(const String & ext) { - for ( Vector<String>::iterator it = fileExtensions.begin() ; - it != fileExtensions.end() ; it++ ) { + Vector<String>::iterator it = fileExtensions.begin(); + while (it != fileExtensions.end()) { if ( *it == ext ) { - fileExtensions.erase(it); + it = fileExtensions.erase(it); + } + else { + it++; } } } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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