aboutsummaryrefslogtreecommitdiff
path: root/textproc/rast/files/patch-local_db.c
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/rast/files/patch-local_db.c')
-rw-r--r--textproc/rast/files/patch-local_db.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/rast/files/patch-local_db.c b/textproc/rast/files/patch-local_db.c
new file mode 100644
index 000000000000..22b9cf8580f5
--- /dev/null
+++ b/textproc/rast/files/patch-local_db.c
@@ -0,0 +1,11 @@
+--- src/local_db.c.orig 2008-08-20 12:45:58.597538000 +0900
++++ src/local_db.c 2008-08-20 12:46:33.000000000 +0900
+@@ -2111,7 +2111,7 @@
+
+ encoding_module = docs[i]->db->encoding_module;
+ tf = APR_RING_FIRST(docs[i]->terms);
+- if (tf == APR_RING_SENTINEL(&docs[i]->terms,
++ if (tf == APR_RING_SENTINEL(docs[i]->terms,
+ rast_term_frequency_t, link)) {
+ error = get_summary(pool, encoding_module,
+ summary, summary_nbytes,