Haruka Yoshihara
null+****@clear*****
Tue Dec 18 11:31:27 JST 2012
Haruka Yoshihara 2012-12-18 11:31:27 +0900 (Tue, 18 Dec 2012) New Revision: 4e961fe46e34f0b20d85b46906cd04ece67b1e13 https://github.com/groonga/groonga-query-log/commit/4e961fe46e34f0b20d85b46906cd04ece67b1e13 Log: Extractor: close File IO only Modified files: lib/groonga/query-log/extractor.rb Modified: lib/groonga/query-log/extractor.rb (+2 -1) =================================================================== --- lib/groonga/query-log/extractor.rb 2012-12-17 18:28:02 +0900 (c2ac463) +++ lib/groonga/query-log/extractor.rb 2012-12-18 11:31:27 +0900 (d70b005) @@ -70,7 +70,8 @@ module Groonga else extract(log, output) end - output.close + + output.close if File.file?(output) end private -------------- next part -------------- HTML����������������������������...Download