修复fuzzy_digest中的bug。

This commit is contained in:
zhengchao
2017-07-08 18:34:56 +08:00
parent 6a89f18d2f
commit 5ba84a69f1
4 changed files with 134 additions and 212 deletions

View File

@@ -128,6 +128,7 @@ void Maat_add_region2cmd(struct Maat_cmd_t* cmd,int which_group,const struct Maa
void Maat_free_cmd(struct Maat_cmd_t* cmd);
int Maat_format_cmd(struct Maat_cmd_t* cmd, char* buffer, int size);
// REGION_EXPR and REGION_SIMILARITY need to escape input string.
char* Maat_str_escape(char* dst,int size,const char*src);
// The following functions are NOT thread safe.