summaryrefslogtreecommitdiff
path: root/ext/zlib/zlib.c
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-01-02 01:31:36 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-01-02 01:31:36 +0000
commit0fe6b888c9180bfcd61815f2093b10e8e56aee6d (patch)
treeb0cf8b660ca73b54819a7b3aa4fcd25cf8a03e36 /ext/zlib/zlib.c
parente7a993656c84c166278d9f6e77babd4aa6fd31c9 (diff)
Fix to compile on yarv, ruby_errinfo -> rb_errinfo()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/zlib/zlib.c')
-rw-r--r--ext/zlib/zlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index 16aebc61fc..509935a147 100644
--- a/ext/zlib/zlib.c
+++ b/ext/zlib/zlib.c
@@ -1759,7 +1759,7 @@ gzfile_read_raw_rescue(VALUE arg)
{
struct gzfile *gz = (struct gzfile*)arg;
VALUE str = Qnil;
- if (rb_obj_is_kind_of(ruby_errinfo(), rb_eNoMethodError)) {
+ if (rb_obj_is_kind_of(rb_errinfo(), rb_eNoMethodError)) {
str = rb_funcall(gz->io, id_read, 1, INT2FIX(GZFILE_READ_SIZE));
if (!NIL_P(str)) {
Check_Type(str, T_STRING);