1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/zlib/zlib.c (zstream_end): should return value. (backported

from CVS HEAD)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2005-01-06 11:31:40 +00:00
parent 7bc0dd8308
commit 32d3f688ec
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Thu Jan 6 20:31:07 2005 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/zlib/zlib.c (zstream_end): should return value. (backported
from CVS HEAD)
Thu Jan 6 19:55:13 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
* win32/win32.c (rb_w32_close): didn't close socket handle.

View file

@ -679,7 +679,7 @@ zstream_end(z)
if (RTEST(ruby_debug)) {
rb_warning("attempt to close uninitialized zstream; ignored.");
}
return;
return Qnil;
}
if (z->flags & ZSTREAM_FLAG_IN_STREAM) {
if (RTEST(ruby_debug)) {