commit fde2e0a5b59e6beb940e2930db8e01cf250d3c90
parent 1870f25d9c0d072090f5b1488eecc22e13464481
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 22 Apr 2006 16:58:33 +0000
sync
Diffstat:
2 files changed, 17 insertions(+), 15 deletions(-)
diff --git a/src/plugins/printable/Makefile.am b/src/plugins/printable/Makefile.am
@@ -16,27 +16,27 @@ fr_LANG=fr_0.c fr_1.c fr_2.c fr_3.c fr_4.c fr_5.c fr_6.c fr_7.c fr_8.c fr_9.c fr
CLEANFILES = da.c de.c en.c es.c fi.c fr.c ga.c it.c no.c pt.c sv.c peda.c pede.c peen.c pees.c pefi.c pefr.c pega.c peit.c peno.c pept.c pesv.c $(da_LANG) $(de_LANG) $(es_LANG) $(en_LANG) $(fi_LANG) $(fr_LANG) $(ga_LANG) $(it_LANG) $(no_LANG) $(pt_LANG) $(sv_LANG)
-da.c: dictionary-builder$(EXEEXT)
+da.c $(da_LANG): dictionary-builder$(EXEEXT)
./dictionary-builder $(srcdir)/da da > da.c
-de.c: dictionary-builder$(EXEEXT)
+de.c $(de_LANG): dictionary-builder$(EXEEXT)
./dictionary-builder $(srcdir)/de de > de.c
-en.c: dictionary-builder$(EXEEXT)
+en.c $(en_LANG): dictionary-builder$(EXEEXT)
./dictionary-builder $(srcdir)/en en > en.c
-es.c: dictionary-builder$(EXEEXT)
+es.c $(es_LANG): dictionary-builder$(EXEEXT)
./dictionary-builder $(srcdir)/es es > es.c
-fi.c: dictionary-builder$(EXEEXT)
+fi.c $(fi_LANG): dictionary-builder$(EXEEXT)
./dictionary-builder $(srcdir)/fi fi > fi.c
-fr.c: dictionary-builder$(EXEEXT)
+fr.c $(fr_LANG): dictionary-builder$(EXEEXT)
./dictionary-builder $(srcdir)/fr fr > fr.c
-ga.c: dictionary-builder$(EXEEXT)
+ga.c $(ga_LANG): dictionary-builder$(EXEEXT)
./dictionary-builder $(srcdir)/ga ga > ga.c
-it.c: dictionary-builder$(EXEEXT)
+it.c $(it_LANG): dictionary-builder$(EXEEXT)
./dictionary-builder $(srcdir)/it it > it.c
-no.c: dictionary-builder$(EXEEXT)
+no.c $(no_LANG): dictionary-builder$(EXEEXT)
./dictionary-builder $(srcdir)/no no > no.c
-pt.c: dictionary-builder$(EXEEXT)
+pt.c $(pt_LANG): dictionary-builder$(EXEEXT)
./dictionary-builder $(srcdir)/pt pt > pt.c
-sv.c: dictionary-builder$(EXEEXT)
+sv.c $(sv_LANG): dictionary-builder$(EXEEXT)
./dictionary-builder $(srcdir)/sv sv > sv.c
peda.c:
diff --git a/src/plugins/printable/printableextractor.h b/src/plugins/printable/printableextractor.h
@@ -1,6 +1,6 @@
/*
This file is part of libextractor.
- (C) 2002, 2003, 2004 Vidyut Samanta and Christian Grothoff
+ (C) 2002, 2003, 2004, 2006 Vidyut Samanta and Christian Grothoff
libextractor is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
@@ -69,8 +69,10 @@ static void testBitCallback(Bloomfilter * bf,
int * arg = cls;
if (! testBit(bf->sbitArray,
bf->bitArraySize,
- bit))
+ bit)) {
+ printf("Testing bit %u failed!\n", bit);
*arg = 0;
+ }
}
/**
* Test if an element is in the filter.
@@ -275,7 +277,7 @@ static int process(char * keyword,
static void testKeyword(size_t start,
size_t end,
- char * data,
+ const char * data,
double * thresh,
struct EXTRACTOR_Keywords ** head,
struct EXTRACTOR_Keywords ** tail) {
@@ -528,4 +530,4 @@ EXTRACT_NAME (const char * filename,
}
-/* end of printableextractor.c */
+/* end of printableextractor.h */