summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-24 15:19:11 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-24 15:19:11 +0000
commit47ccaefee41d6cf2d549d9c4226741529fdb5b85 (patch)
treee71fbdf6467d906448426814d7b4f228d4573c48 /ext
parent913ab3f1d4a63c69e44dfec4b01db4d110b115e3 (diff)
downloadruby-47ccaefee41d6cf2d549d9c4226741529fdb5b85.tar.gz
ruby-47ccaefee41d6cf2d549d9c4226741529fdb5b85.tar.xz
ruby-47ccaefee41d6cf2d549d9c4226741529fdb5b85.zip
* stable version 1.8.1 released.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-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 8e320b46a..80b45ad0c 100644
--- a/ext/zlib/zlib.c
+++ b/ext/zlib/zlib.c
@@ -1813,7 +1813,7 @@ gzfile_read_all(gz)
if (!(gz->z.flags & GZFILE_FLAG_FOOTER_FINISHED)) {
gzfile_check_footer(gz);
}
- return Qnil;
+ return rb_str_new(0, 0);
}
dst = zstream_detach_buffer(&gz->z);