Kouhei Sutou
null+****@clear*****
Thu Apr 16 21:27:22 JST 2015
Kouhei Sutou 2015-04-16 21:27:22 +0900 (Thu, 16 Apr 2015) New Revision: e611502396231006430243c359ba620fb87dbc99 https://github.com/groonga/groonga/commit/e611502396231006430243c359ba620fb87dbc99 Message: Follow API change Modified files: plugins/query_expanders/tsv.c Modified: plugins/query_expanders/tsv.c (+5 -1) =================================================================== --- plugins/query_expanders/tsv.c 2015-04-16 21:25:33 +0900 (17385d2) +++ plugins/query_expanders/tsv.c 2015-04-16 21:27:22 +0900 (479854b) @@ -25,6 +25,10 @@ #include <stdio.h> #include <string.h> +#ifdef WIN32 +# include <share.h> +#endif /* WIN32 */ + #ifdef HAVE__STRNICMP # ifdef strncasecmp # undef strncasecmp @@ -210,7 +214,7 @@ load_synonyms(grn_ctx *ctx) } else { path = get_system_synonyms_file(); } - grn_fopen(file, path, "r"); + file = grn_fopen(path, "r"); if (!file) { GRN_LOG(ctx, GRN_LOG_WARNING, "[plugin][query-expander][tsv] " -------------- next part -------------- HTML����������������������������... Descargar