* ext/zlib/zlib.c (rb_deflate_s_deflate): Fixed ruby example replacing
NO_FLUSH with FINISH. [ruby-trunk - Bug #6273] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
04e3e2de56
commit
718ab93d4d
@ -1,3 +1,8 @@
|
||||
Tue Apr 10 09:48:31 2012 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* ext/zlib/zlib.c (rb_deflate_s_deflate): Fixed ruby example replacing
|
||||
NO_FLUSH with FINISH. [ruby-trunk - Bug #6273]
|
||||
|
||||
Mon Apr 9 23:10:26 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* win32/win32.c (isUNCRoot, winnt_stat): support long UNC.
|
||||
|
@ -1434,7 +1434,7 @@ deflate_run(VALUE args)
|
||||
*
|
||||
* def deflate(string, level)
|
||||
* z = Zlib::Deflate.new(level)
|
||||
* dst = z.deflate(string, Zlib::NO_FLUSH)
|
||||
* dst = z.deflate(string, Zlib::FINISH)
|
||||
* z.close
|
||||
* dst
|
||||
* end
|
||||
|
Loading…
x
Reference in New Issue
Block a user