[Groonga-commit] droonga/droonga-engine at b0261b4 [master] Clear writing buffer correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Apr 29 00:41:40 JST 2015


YUKI Hiroshi	2015-04-29 00:41:40 +0900 (Wed, 29 Apr 2015)

  New Revision: b0261b48dcd61f320e826280e88e1d9778fe5f19
  https://github.com/droonga/droonga-engine/commit/b0261b48dcd61f320e826280e88e1d9778fe5f19

  Message:
    Clear writing buffer correctly

  Modified files:
    lib/droonga/buffered_tcp_socket.rb

  Modified: lib/droonga/buffered_tcp_socket.rb (+1 -0)
===================================================================
--- lib/droonga/buffered_tcp_socket.rb    2015-04-29 00:24:37 +0900 (c10bd69)
+++ lib/droonga/buffered_tcp_socket.rb    2015-04-29 00:41:40 +0900 (2f4bcc2)
@@ -177,6 +177,7 @@ module Droonga
 
       def written
         FileUtils.rm_f(path.to_s)
+        FileUtils.rm_f(writing_path.to_s)
       end
 
       def written_partial(size)
-------------- next part --------------
HTML����������������������������...
下載 



More information about the Groonga-commit mailing list
Back to archive index