diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-03 13:41:50 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-03 13:41:50 +0000 |
commit | 1da517be7454c34888026f2dd9f6b07d63953e25 (patch) | |
tree | 9c77f12aca6535e051981e57abfa3249bf05837b | |
parent | da87fc0e7389842e07a9ce74b27769ed870def9a (diff) |
* ext/zlib/zlib.c: added a prototype to get rid of SEGV on x86_64
darwin.
Reported by kosaki and nagachika. Patch by nagachika.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ext/zlib/zlib.c | 2 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Sun Jul 3 22:40:37 2011 Yuki Sonoda (Yugui) <yugui@yugui.jp> + + * ext/zlib/zlib.c: added a prototype to get rid of SEGV on x86_64 + darwin. + Reported by kosaki and nagachika. Patch by nagachika. + Sun Jul 3 21:02:05 2011 Yuki Sonoda (Yugui) <yugui@yugui.jp> * ext/socket/extconf.rb (have_type("PADDRINFO")): new check. diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index c454d26e04..1195e6630f 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -2388,6 +2388,8 @@ gzfile_reader_rewind(struct gzfile *gz) gzfile_reset(gz); } +extern VALUE rb_str_resurrect(VALUE str); + static VALUE gzfile_reader_get_unused(struct gzfile *gz) { @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.2" -#define RUBY_PATCHLEVEL 287 +#define RUBY_PATCHLEVEL 288 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 9 #define RUBY_VERSION_TEENY 1 |