rpms/beagle/devel beagle-0.2.2-textcache-crash.patch, NONE, 1.1 beagle.spec, 1.43, 1.44

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Mar 7 17:25:04 UTC 2006


Author: alexl

Update of /cvs/dist/rpms/beagle/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv23787

Modified Files:
	beagle.spec 
Added Files:
	beagle-0.2.2-textcache-crash.patch 
Log Message:
* Tue Mar  7 2006 Alexander Larsson <alexl at redhat.com> - 0.2.2-2
- Fix beagle-craw-system NullPtrException



beagle-0.2.2-textcache-crash.patch:
 BuildIndex.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

--- NEW FILE beagle-0.2.2-textcache-crash.patch ---
--- beagle-0.2.2/beagled/BuildIndex.cs.textcache-crash	2006-03-07 18:22:06.000000000 +0100
+++ beagle-0.2.2/beagled/BuildIndex.cs	2006-03-07 18:22:26.000000000 +0100
@@ -265,7 +265,8 @@
 			
 			driver = new LuceneIndexingDriver (arg_output, false);
 			driver.TextCache = (arg_cache_text) ? new TextCache (arg_output) : null;
-			driver.TextCache.WorldReadable = true;
+			if (driver.TextCache != null)
+				driver.TextCache.WorldReadable = true;
 
 			backing_fa_store = new FileAttributesStore_Sqlite (driver.TopDirectory, driver.Fingerprint);
 			fa_store = new FileAttributesStore (backing_fa_store);


Index: beagle.spec
===================================================================
RCS file: /cvs/dist/rpms/beagle/devel/beagle.spec,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- beagle.spec	7 Mar 2006 15:48:12 -0000	1.43
+++ beagle.spec	7 Mar 2006 17:25:01 -0000	1.44
@@ -1,6 +1,6 @@
 Name:           beagle
 Version:        0.2.2
-Release:        1
+Release:        2
 Summary:        The Beagle Search Infrastructure
 
 Group:          User Interface/Desktops
@@ -25,6 +25,7 @@
 Requires: sqlite >= 3.3.1
 Requires: zip unzip sed grep mono-core poppler-utils
 Patch0: beagle-0.2.2-security-fix.patch
+Patch1: beagle-0.2.2-textcache-crash.patch
 Patch2: beagle-0.2.1-crawl.patch
 Patch3: beagle-0.2.1-spew.patch
 Patch4: beagle-0.2.2-crawl-system-cron.patch
@@ -62,6 +63,7 @@
 %prep
 %setup -q
 %patch0 -p1 -b .security-fix
+%patch1 -p1 -b .textcache-crash
 %patch2 -p1 -b .crawl
 %patch3 -p1 -b .spew
 %patch4 -p1 -b .crawl-system-cron
@@ -211,6 +213,9 @@
 %{_prefix}/lib/python*/site-packages/beagle.so
 
 %changelog
+* Tue Mar  7 2006 Alexander Larsson <alexl at redhat.com> - 0.2.2-2
+- Fix beagle-craw-system NullPtrException
+
 * Tue Mar  7 2006 Alexander Larsson <alexl at redhat.com> - 0.2.2-1
 - update to 0.2.2
 




More information about the fedora-cvs-commits mailing list