diff options
| author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-01-02 01:31:36 +0000 |
|---|---|---|
| committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-01-02 01:31:36 +0000 |
| commit | a62e92f551043e80d64797fcf19a4e3d8153c127 (patch) | |
| tree | b0cf8b660ca73b54819a7b3aa4fcd25cf8a03e36 /ext | |
| parent | 468e02e3a30127ff09650ce3cd1a266ea87af925 (diff) | |
| download | ruby-a62e92f551043e80d64797fcf19a4e3d8153c127.tar.gz ruby-a62e92f551043e80d64797fcf19a4e3d8153c127.tar.xz ruby-a62e92f551043e80d64797fcf19a4e3d8153c127.zip | |
Fix to compile on yarv, ruby_errinfo -> rb_errinfo()
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/zlib/zlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index 16aebc61f..509935a14 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); |
