[Groonga-commit] groonga/groonga at 023e609 [master] Extract only file entry

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Apr 6 13:39:58 JST 2017


Kouhei Sutou	2017-04-06 13:39:58 +0900 (Thu, 06 Apr 2017)

  New Revision: 023e609a018ac2369689af10ec0dc7ae1cc17763
  https://github.com/groonga/groonga/commit/023e609a018ac2369689af10ec0dc7ae1cc17763

  Message:
    Extract only file entry
    
    "pax_global_header" is included in LZ4 archive as "g" typeflag.

  Modified files:
    vendor/download_lz4.rb

  Modified: vendor/download_lz4.rb (+1 -1)
===================================================================
--- vendor/download_lz4.rb    2017-04-06 13:36:23 +0900 (f959094)
+++ vendor/download_lz4.rb    2017-04-06 13:39:58 +0900 (59b3508)
@@ -22,7 +22,7 @@ def extract_tar_gz(tar_gz_path)
         p [entry.header.typeflag, entry.full_name] if @debug
         if entry.directory?
           FileUtils.mkdir_p(entry.full_name)
-        else
+        elsif entry.file?
           File.open(entry.full_name, "wb") do |file|
             file.print(entry.read)
           end
-------------- next part --------------
HTML����������������������������...
Descargar 



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