修复文件乱序到达处理过程中没有关闭文件句柄的bug。
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
#include "stream_fuzzy_hash.h"
|
||||
#include "gram_index_engine.h"
|
||||
|
||||
int MAAT_FRAME_VERSION_2_0_20170927=1;
|
||||
int MAAT_FRAME_VERSION_2_0_20170929=1;
|
||||
|
||||
const char* CHARSET_STRING[]={"NONE","gbk","big5","unicode","utf8","bin",
|
||||
"unicode_ascii_esc","unicode_ascii_aligned","unicode_ncr_dec","unicode_ncr_hex","url_encode_gb2312","url_encode_utf8",""};
|
||||
|
||||
@@ -347,6 +347,7 @@ int cm_read_cfg_index_file(const char* path,struct cm_table_info_t* idx,int size
|
||||
MESA_handle_runtime_log(logger,RLOG_LV_FATAL,module_config_monitor ,"%s of %s not exisit",
|
||||
idx[i].cfg_path,
|
||||
path);
|
||||
fclose(fp);
|
||||
return -1;
|
||||
}
|
||||
i++;
|
||||
|
||||
Reference in New Issue
Block a user