mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/zlib/zlib.c (zstream_run): fix a GC problem by tail call on
x86_64 with gcc 4.0.3 20051111 (prerelease) (Debian 4.0.2-4) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
55c4223064
commit
73b88f6be8
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Dec 15 01:33:31 2005 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* ext/zlib/zlib.c (zstream_run): fix a GC problem by tail call on
|
||||
x86_64 with gcc 4.0.3 20051111 (prerelease) (Debian 4.0.2-4)
|
||||
|
||||
Wed Dec 14 23:50:20 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/rdoc/parsers/parse_c.rb (find_class_comment): fix for class
|
||||
|
|
|
@ -762,6 +762,7 @@ zstream_run(z, src, len, flush)
|
|||
zstream_reset_input(z);
|
||||
if (z->stream.avail_in > 0) {
|
||||
zstream_append_input(z, z->stream.next_in, z->stream.avail_in);
|
||||
guard = Qnil; /* prevent tail call to make guard effective */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue