aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ext/zlib/zlib.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 05d4263158..aa43d9e6c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Jan 2 10:29:54 2007 Eric Hodel <drbrain@segment7.net>
+
+ * ext/zlib/zlib.c: fix to compile on YARV
+ ruby_errinfo -> rb_errinfo()
+
Mon Jan 01 08:07:06 2007 Koichi Sasada <ko1@atdot.net>
* ext/tk/tcltklib.c : fix to compile on YARV
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);