[前][次][番号順一覧][スレッド一覧]

ruby-changes:23223

From: drbrain <ko1@a...>
Date: Tue, 10 Apr 2012 09:48:58 +0900 (JST)
Subject: [ruby-changes:23223] drbrain:r35273 (trunk): * ext/zlib/zlib.c (rb_deflate_s_deflate): Fixed ruby example replacing

drbrain	2012-04-10 09:48:49 +0900 (Tue, 10 Apr 2012)

  New Revision: 35273

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35273

  Log:
    * ext/zlib/zlib.c (rb_deflate_s_deflate):  Fixed ruby example replacing
      NO_FLUSH with FINISH.  [ruby-trunk - Bug #6273]

  Modified files:
    trunk/ChangeLog
    trunk/ext/zlib/zlib.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 35272)
+++ ChangeLog	(revision 35273)
@@ -1,3 +1,8 @@
+Tue Apr 10 09:48:31 2012  Eric Hodel  <drbrain@s...>
+
+	* 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@r...>
 
 	* win32/win32.c (isUNCRoot, winnt_stat): support long UNC.
Index: ext/zlib/zlib.c
===================================================================
--- ext/zlib/zlib.c	(revision 35272)
+++ ext/zlib/zlib.c	(revision 35273)
@@ -1434,7 +1434,7 @@
  *
  *   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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]