You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/02/25 02:47:07 UTC
[lucy-commits] svn commit: r1074375 - /incubator/lucy/trunk/core/Lucy/Index/IndexManager.c
Author: marvin
Date: Fri Feb 25 01:47:07 2011
New Revision: 1074375
URL: http://svn.apache.org/viewvc?rev=1074375&view=rev
Log:
Fix an extra pointer deref which was turning an exception into a segfault for
an error which can occur during background merging.
Modified:
incubator/lucy/trunk/core/Lucy/Index/IndexManager.c
Modified: incubator/lucy/trunk/core/Lucy/Index/IndexManager.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/IndexManager.c?rev=1074375&r1=1074374&r2=1074375&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/IndexManager.c (original)
+++ incubator/lucy/trunk/core/Lucy/Index/IndexManager.c Fri Feb 25 01:47:07 2011
@@ -275,7 +275,7 @@ IxManager_write_merge_data(IndexManager
success = Json_spew_json((Obj*)data, self->folder, (CharBuf*)merge_json);
DECREF(data);
if (!success) {
- THROW(ERR, "Failed to write to %o", &merge_json);
+ THROW(ERR, "Failed to write to %o", merge_json);
}
}