summaryrefslogtreecommitdiff
path: root/src/htsindex.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2012-03-19 12:55:42 +0000
committerXavier Roche <xroche@users.noreply.github.com>2012-03-19 12:55:42 +0000
commit844ecc37072d515513177c65a8c9dc35c9cdfc1a (patch)
tree733b1fe039c0c37095a594b66d5076f3f5a0153d /src/htsindex.c
parent25adbdabb47499fe641c7bd9595024ff82667058 (diff)
httrack 3.33.16
Diffstat (limited to 'src/htsindex.c')
-rw-r--r--src/htsindex.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/htsindex.c b/src/htsindex.c
index 1a75103..af87396 100644
--- a/src/htsindex.c
+++ b/src/htsindex.c
@@ -35,9 +35,10 @@ Please visit our Website: http://www.httrack.com
/* Author: Xavier Roche */
/* ------------------------------------------------------------ */
+/* Internal engine bytecode */
+#define HTS_INTERNAL_BYTECODE
+
-#include <stdio.h>
-#include <stdlib.h>
#include "htsindex.h"
#include "htsglobal.h"
#include "htslib.h"
@@ -124,12 +125,14 @@ int hts_primindex_words=0;
*/
void index_init(const char* indexpath) {
#if HTS_MAKE_KEYWORD_INDEX
+#ifndef _WIN32_WCE
/* remove(concat(indexpath,"index.txt")); */
hts_index_init=1;
hts_primindex_size=0;
hts_primindex_words=0;
fp_tmpproject=tmpfile();
#endif
+#endif
}
@@ -298,7 +301,7 @@ int index_keyword(const char* html_data,LLint size,const char* mime,const char*
unsigned long int e=0;
if (inthash_read(WordIndexHash,line,&e)) {
//if (e) {
- char savelst[HTS_URLMAXSIZE*2];
+ char BIGSTK savelst[HTS_URLMAXSIZE*2];
e++; /* 0 means "once" */
if (strncmp((const char*)fslash((char*)indexpath),filename,strlen(indexpath))==0) // couper