Kouhei Sutou
kou****@clear*****
Sat Oct 17 23:05:32 JST 2015
In <246D1C94-7D6E-4C38-B9A9-A4533DBD2E9B �� clear-code.com> "Re: [Groonga-commit] groonga/groonga �� 744e1ac [master] windows: avoid "stat" name conflict" on Sat, 17 Oct 2015 22:52:03 +0900, Hiroshi Hatake <hatake �� clear-code.com> wrote: > util.cでgrn_boolを返している >> + return stat(path, &status) == 0; > > のに、 >> + if (grn_path_exist(conf_path) == 0) { > > ともう一度真偽値比較をしているのが無駄に見えてしまったんですけど、Groongaのgrn_boolにはこのような制約があるのでしょうか? これは書き換えたときに== 0が残ってしまっていたバグですね! 気づいていなかったので助かりました。ありがとうございます!