diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-14 16:37:56 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-14 16:37:56 +0000 |
| commit | fe2c4d7c9fb43d219ed90e46f69ef5057f05cd95 (patch) | |
| tree | f781413613f212db303748abb3c5ed98de8573b4 /ext | |
| parent | dca1c7577bc6595089c38dd2a9bd870e601cb9ed (diff) | |
| download | ruby-fe2c4d7c9fb43d219ed90e46f69ef5057f05cd95.tar.gz ruby-fe2c4d7c9fb43d219ed90e46f69ef5057f05cd95.tar.xz ruby-fe2c4d7c9fb43d219ed90e46f69ef5057f05cd95.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/zlib/zlib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index c8c4407d0..ee98089f0 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -759,6 +759,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 */ } } |
