... public function process($data, $cs) { print_r($data); return $data; } } 仍然不行,哎!
... } $this->_flag |= self::FILE; $this->_sock = $sock; return; } elseif (($pos = strpos($conn, ':')) !== false) { $host = substr($conn, 0, $pos); $port = intval(substr($conn, $pos + 1)); } else { $host = 'unix://' . $conn; $port = -1; } if ...
...if (at != NULL) + free(at); s->off = off; return cnt; } *************** *** 1464,1470 **** } // free at & xtree ! free(at); xtree_free(xt); // restore the offset --- 1467,1474 ---- } // fr...
...: In function 'int main(int, char**)': import.cc:773:31: warning: ignoring return value of 'int ftruncate(int, __off64_t)', declared with attribute warn_unused_result [-Wunused-result] import.cc: In function 'void batch_committed(int)': import.cc:138:36: warning: ignoring return value of 'ssize_t wr...
...en); + *((char *)value + len) = '\0'; } return value; } [/code] [/quote] 我花了基本上一整天来定位这个错误
...$data['content']); //echo "\n-replaced-----\n"; //print_r($data); return $data; } } 然后命令行就用--filter=debug 还有,我认为过滤器的名字必需是XS开头,Filter结尾,在命令行上打的时候,用XS和Filter中间的字符串?似乎是这样的! ...
...scws_free_result(res); } } scws_free(s); return 0; } //上面的程序消耗的内存越来越大,不解
..._strlen($value,$charset); if($strlen length) { $ret[] = $value; return $ret; } for($l=$this->length;$l
... $data['post_content'] = $this->filterHtml($data['post_content']); return $data; } public function filterHtml($str) { $str=eregi_replace("", '', $str); $str=str_replace(" ", '', $str); $str=str_replace("\n", '', $str); $str=str_replace("\t", '', $str); ...
... NULL; } xx = s->d; s->d = xdict_add(s->d, fpath, mode, s->mblen); return (xx == s->d ? -1 : 0); } [/code] [code]void scws_set_rule(scws_t s, const char *fpath) { if (s->r != NULL) scws_rule_free(s->r); s->r = scws_rule_new(fpath, s->mblen); }[/code] 建议 hightman 修改...