зеркало из https://github.com/github/ruby.git
* ext/zlib/zlib.c (Zlib::Inflate.new):
Fix documentation syntax and naming errors. Based on patch by Robin Dupret. Fix GH-271. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
809a7618f0
Коммит
f4eeca1d16
|
@ -1,3 +1,9 @@
|
|||
Mon Apr 1 22:08:02 2013 Benoit Daloze <eregontp@gmail.com>
|
||||
|
||||
* ext/zlib/zlib.c (Zlib::Inflate.new):
|
||||
Fix documentation syntax and naming errors.
|
||||
Based on patch by Robin Dupret. Fix GH-271.
|
||||
|
||||
Mon Apr 1 21:22:31 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* test/-ext-/num2int/test_num2int.rb: Test small bignums.
|
||||
|
|
|
@ -1850,12 +1850,12 @@ rb_inflate_s_allocate(VALUE klass)
|
|||
* == Example
|
||||
*
|
||||
* open "compressed.file" do |compressed_io|
|
||||
* inflate = Zlib::Inflate.new(Zlib::MAX_WBITS + 32)
|
||||
* zi = Zlib::Inflate.new(Zlib::MAX_WBITS + 32)
|
||||
*
|
||||
* begin
|
||||
* open "uncompressed.file", "w+" do |uncompressed_io|
|
||||
* uncompressed_io << zi.inflate(compressed_io.read)
|
||||
* }
|
||||
* end
|
||||
* ensure
|
||||
* zi.close
|
||||
* end
|
||||
|
|
Загрузка…
Ссылка в новой задаче