感谢关注和指出,关于汇露确实存在,修正PATCH文件如下,由于此处泄露量比较小导致的影响也比较轻,所以暂不强制提供升级版本。 [code] diff -c -r1.20 scws.c *** scws.c 19 Apr 2011 08:00:23 -0000 1.20 --- scws.c 7 May 2011 14:57:49 -...
...行报错,这个怎么解决啊 Exception in thread "main" java.lang.UnsatisfiedLinkError: no sqlitejdbc in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at org.sqlite.DB.(DB...
[quote='hightman' pid='6629' dateline='1312967825'] 在 demo 中测试 v,n 结果只有 n 的,测试~v,n,vn 结果还是会出现包含这些词性的。 这。。。似乎完全有BUG,稍后查。 [/quote] 感谢 magike 网友再度来信指出,目前已经在CVS中作了修正,预...
[quote='backluck' pid='3650' dateline='1280380226'] [quote]int scws_has_word(scws_t s, char *xattr) { int off, cnt, xmode = SCWS_NA; scws_res_t res, cur; char *word; word_attr *at = NULL; if (!s || !s->txt) return 0; __PARSE_XATTR__; // save th...
[quote]int scws_has_word(scws_t s, char *xattr) { int off, cnt, xmode = SCWS_NA; scws_res_t res, cur; char *word; word_attr *at = NULL; if (!s || !s->txt) return 0; __PARSE_XATTR__; // save the offset. (cnt -> return_value) off = s->off; ...
hightman: 补丁我试图去打了,但出现以下错误: patch -c libscws/scws.c scws.patch patching file libscws/scws.c Hunk #1 FAILED at 328. Hunk #2 FAILED at 684. 2 out of 2 hunks FAILED -- saving rejects to file libscws/scws.c.rej 补丁针对的版本是scws-1.5吗?
...一个地方没有free。在 scws.c/scws_has_word()函数中: __PARSE_XATTR__; // 这个宏里有一个内存申请:at = (word_attr *) malloc(cnt); 申请的内存没有释放。应该在scws_has_word()函数最后添加一句:free(at); 即可。 另外,觉得scws应该可以用于多...
...etMondongo(); $wiki_repo = $mongo->getRepository("Wiki"); $wiki_date = new MongoDate(0); $xs = new XS('demo'); $index = $xs->index; while (true) { $wikis = $wiki_repo->find(array("query" => array("created_at" => array('$gt' => $wiki_date)), "sort" => array("created_...
...出现问题了 2013-08-14 12:17:00 indexd[16564] NOTICE commit index data (DB:item.db, COUNT:469) 2013-08-14 12:17:00 indexd[16564] NOTICE priority use unfinished sndfile (FILE:tmp/item_db.snd) 12:17:00 import[69002] ERROR xapian exception (ERROR:Cannot open tables at consistent revisions) 20...
...Num;i++){ pthread_create(&thread[i],NULL,doSeg,scws_fork(s)); } ...