ruby-changes:36863
From: usa <ko1@a...>
Date: Wed, 24 Dec 2014 00:24:28 +0900 (JST)
Subject: [ruby-changes:36863] usa:r48944 (trunk): * tool/extlibs.rb (do_extract): the pipe should be binmode.
usa 2014-12-24 00:24:07 +0900 (Wed, 24 Dec 2014) New Revision: 48944 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48944 Log: * tool/extlibs.rb (do_extract): the pipe should be binmode. Modified files: trunk/ChangeLog trunk/tool/extlibs.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 48943) +++ ChangeLog (revision 48944) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Dec 24 00:23:13 2014 NAKAMURA Usaku <usa@r...> + + * tool/extlibs.rb (do_extract): the pipe should be binmode. + Wed Dec 24 00:21:44 2014 NAKAMURA Usaku <usa@r...> * Makefile.in, common.mk: move common-srcs to Makefile.in because Index: tool/extlibs.rb =================================================================== --- tool/extlibs.rb (revision 48943) +++ tool/extlibs.rb (revision 48944) @@ -52,7 +52,7 @@ def do_extract(cache, dir) https://github.com/ruby/ruby/blob/trunk/tool/extlibs.rb#L52 else inp = cache end - inp ||= f + inp ||= f.binmode ext = File.extname(cache) case ext when '.tar', /\A\.t[gbx]z\z/ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/