From 47ccaefee41d6cf2d549d9c4226741529fdb5b85 Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 24 Dec 2003 15:19:11 +0000 Subject: * stable version 1.8.1 released. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/zlib/zlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') 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); -- cgit