ruby-changes:8553
From: nobu <ko1@a...>
Date: Sun, 2 Nov 2008 16:42:22 +0900 (JST)
Subject: [ruby-changes:8553] Ruby:r20087 (trunk, ruby_1_9_1): * ext/zlib/zlib.c (Init_zlib): defines readbyte instead redefining
nobu 2008-11-02 16:41:56 +0900 (Sun, 02 Nov 2008) New Revision: 20087 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20087 Log: * ext/zlib/zlib.c (Init_zlib): defines readbyte instead redefining readchar. Modified files: branches/ruby_1_9_1/ChangeLog branches/ruby_1_9_1/ext/zlib/zlib.c branches/ruby_1_9_1/version.h trunk/ChangeLog trunk/ext/zlib/zlib.c trunk/version.h Index: ChangeLog =================================================================== --- ChangeLog (revision 20086) +++ ChangeLog (revision 20087) @@ -1,3 +1,8 @@ +Sun Nov 2 16:41:52 2008 Nobuyoshi Nakada <nobu@r...> + + * ext/zlib/zlib.c (Init_zlib): defines readbyte instead redefining + readchar. + Sat Nov 1 07:09:40 2008 Eric Hodel <drbrain@s...> * gem_prelude.rb: Don't require rubygems/defaults.rb. Index: ext/zlib/zlib.c =================================================================== --- ext/zlib/zlib.c (revision 20086) +++ ext/zlib/zlib.c (revision 20087) @@ -3415,7 +3415,8 @@ * Zlib::OS_UNKNOWN * The return values of Zlib::GzipFile#os_code method. */ -void Init_zlib() +void +Init_zlib() { VALUE mZlib, cZStream, cDeflate, cInflate; #if GZIP_SUPPORT @@ -3571,7 +3572,7 @@ rb_define_method(cGzipReader, "getc", rb_gzreader_getc, 0); rb_define_method(cGzipReader, "getbyte", rb_gzreader_getbyte, 0); rb_define_method(cGzipReader, "readchar", rb_gzreader_readchar, 0); - rb_define_method(cGzipReader, "readchar", rb_gzreader_readbyte, 0); + rb_define_method(cGzipReader, "readbyte", rb_gzreader_readbyte, 0); rb_define_method(cGzipReader, "each_byte", rb_gzreader_each_byte, 0); rb_define_method(cGzipReader, "each_char", rb_gzreader_each_char, 0); rb_define_method(cGzipReader, "bytes", rb_gzreader_each_byte, 0); Index: version.h =================================================================== --- version.h (revision 20086) +++ version.h (revision 20087) @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.9.0" -#define RUBY_RELEASE_DATE "2008-11-01" +#define RUBY_RELEASE_DATE "2008-11-02" #define RUBY_VERSION_CODE 190 -#define RUBY_RELEASE_CODE 20081101 +#define RUBY_RELEASE_CODE 20081102 #define RUBY_PATCHLEVEL 0 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 0 #define RUBY_RELEASE_YEAR 2008 #define RUBY_RELEASE_MONTH 11 -#define RUBY_RELEASE_DAY 1 +#define RUBY_RELEASE_DAY 2 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; Index: ruby_1_9_1/ChangeLog =================================================================== --- ruby_1_9_1/ChangeLog (revision 20086) +++ ruby_1_9_1/ChangeLog (revision 20087) @@ -1,3 +1,8 @@ +Sun Nov 2 16:41:52 2008 Nobuyoshi Nakada <nobu@r...> + + * ext/zlib/zlib.c (Init_zlib): defines readbyte instead redefining + readchar. + Fri Oct 31 21:58:50 2008 Kouhei Sutou <kou@c...> * lib/rss/converter.rb (RSS::Converter): use String#encode. Index: ruby_1_9_1/ext/zlib/zlib.c =================================================================== --- ruby_1_9_1/ext/zlib/zlib.c (revision 20086) +++ ruby_1_9_1/ext/zlib/zlib.c (revision 20087) @@ -3415,7 +3415,8 @@ * Zlib::OS_UNKNOWN * The return values of Zlib::GzipFile#os_code method. */ -void Init_zlib() +void +Init_zlib() { VALUE mZlib, cZStream, cDeflate, cInflate; #if GZIP_SUPPORT @@ -3571,7 +3572,7 @@ rb_define_method(cGzipReader, "getc", rb_gzreader_getc, 0); rb_define_method(cGzipReader, "getbyte", rb_gzreader_getbyte, 0); rb_define_method(cGzipReader, "readchar", rb_gzreader_readchar, 0); - rb_define_method(cGzipReader, "readchar", rb_gzreader_readbyte, 0); + rb_define_method(cGzipReader, "readbyte", rb_gzreader_readbyte, 0); rb_define_method(cGzipReader, "each_byte", rb_gzreader_each_byte, 0); rb_define_method(cGzipReader, "each_char", rb_gzreader_each_char, 0); rb_define_method(cGzipReader, "bytes", rb_gzreader_each_byte, 0); Index: ruby_1_9_1/version.h =================================================================== --- ruby_1_9_1/version.h (revision 20086) +++ ruby_1_9_1/version.h (revision 20087) @@ -1,15 +1,15 @@ #define RUBY_VERSION "1.9.1" -#define RUBY_RELEASE_DATE "2008-10-31" +#define RUBY_RELEASE_DATE "2008-11-02" #define RUBY_VERSION_CODE 191 -#define RUBY_RELEASE_CODE 20081031 +#define RUBY_RELEASE_CODE 20081102 #define RUBY_PATCHLEVEL 0 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 9 #define RUBY_VERSION_TEENY 1 #define RUBY_RELEASE_YEAR 2008 -#define RUBY_RELEASE_MONTH 10 -#define RUBY_RELEASE_DAY 31 +#define RUBY_RELEASE_MONTH 11 +#define RUBY_RELEASE_DAY 2 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/