[Groonga-commit] droonga/wikipedia-search at d67fca7 [master] Name chunk size

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Apr 4 11:36:55 JST 2014


Kouhei Sutou	2014-04-04 11:36:55 +0900 (Fri, 04 Apr 2014)

  New Revision: d67fca71d736ebb6df15f0c04af1b58283004ca8
  https://github.com/droonga/wikipedia-search/commit/d67fca71d736ebb6df15f0c04af1b58283004ca8

  Message:
    Name chunk size

  Modified files:
    Rakefile

  Modified: Rakefile (+2 -1)
===================================================================
--- Rakefile    2014-04-04 11:36:06 +0900 (98039d8)
+++ Rakefile    2014-04-04 11:36:55 +0900 (469f866)
@@ -39,7 +39,8 @@ def download(url, output_path)
   open(url, options) do |input|
     output_path.open("wb") do |output|
       chunk = ""
-      while input.read(8012, chunk)
+      chunk_size = 8012
+      while input.read(chunk_size, chunk)
         output.print(chunk)
       end
     end
-------------- next part --------------
HTML����������������������������...
Download 



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