rpms/hunspell/devel hunspell-1.1.4-defaultdictfromlang.patch, 1.2, 1.3 hunspell.spec, 1.4, 1.5

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Jan 11 17:17:43 UTC 2007


Author: caolanm

Update of /cvs/dist/rpms/hunspell/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv20113

Modified Files:
	hunspell-1.1.4-defaultdictfromlang.patch hunspell.spec 
Log Message:
fix out of range

hunspell-1.1.4-defaultdictfromlang.patch:
 hunspell.cxx |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletion(-)

Index: hunspell-1.1.4-defaultdictfromlang.patch
===================================================================
RCS file: /cvs/dist/rpms/hunspell/devel/hunspell-1.1.4-defaultdictfromlang.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- hunspell-1.1.4-defaultdictfromlang.patch	29 Nov 2006 19:52:35 -0000	1.2
+++ hunspell-1.1.4-defaultdictfromlang.patch	11 Jan 2007 17:17:41 -0000	1.3
@@ -12,8 +12,8 @@
 +                        else {
 +			        int len = strlen(dicname);
 +			        for (int i = 0; i < len; ++i) {
-+			            if ((dicname[i] == '_') && (i+2 < len)) {
-+			                    dicname[i+2] = 0;
++			            if ((dicname[i] == '_') && (i+3 < len)) {
++			                    dicname[i+3] = 0;
 +			                    break;
 +			            }
 +                                }


Index: hunspell.spec
===================================================================
RCS file: /cvs/dist/rpms/hunspell/devel/hunspell.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- hunspell.spec	15 Dec 2006 12:37:11 -0000	1.4
+++ hunspell.spec	11 Jan 2007 17:17:41 -0000	1.5
@@ -1,7 +1,7 @@
 Name: hunspell
 Summary: Hunspell is a spell checker and morphological analyzer library
 Version: 1.1.4
-Release: 3%{?dist}
+Release: 4%{?dist}
 Source: %{name}-%{version}.tar.gz
 Group: System Environment/Libraries
 URL: http://hunspell.sourceforge.net/
@@ -81,6 +81,9 @@
 %{_bindir}/unmunch
 
 %changelog
+* Thu Jan 11 2007 Caolan McNamara <caolanm at redhat.com> - 1.1.4-4
+- fix out of range
+
 * Fri Dec 15 2006 Caolan McNamara <caolanm at redhat.com> - 1.1.4-3
 - hunspell#1616353 simple c api for hunspell
 




More information about the fedora-cvs-commits mailing list