diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-06 07:40:06 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-06 07:40:06 +0000 |
commit | fbb88b011aab36a5d3bed8be3098b9d4d439cee1 (patch) | |
tree | c863bbdf5807cf170ca21f3df33c9cbc847d403f /gc.c | |
parent | 3d17082a50358d83da7f65e923b5559dd8b20ca5 (diff) | |
download | ruby-fbb88b011aab36a5d3bed8be3098b9d4d439cee1.tar.gz |
* io.c (rb_io_mode_flags): preserve append mode flag.
[ruby-dev:24436]
* io.c (rb_io_modenum_mode): do not use external output buffer.
* string.c (rb_str_justify): differ pointer retrieval to prevent
padding string modification. [ruby-dev:24434]
* range.c (range_each_func): allow func to terminate loop by
returning RANGE_EACH_BREAK.
* range.c (member_i): use RANGE_EACH_BREAK. [ruby-talk:114959]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -614,8 +614,6 @@ mark_locations_array(x, n) register VALUE *x; register long n; { - VALUE tmp; - while (n--) { if (is_pointer_to_heap((void *)*x)) { gc_mark(*x, 0); @@ -1033,7 +1031,7 @@ gc_sweep() { RVALUE *p, *pend, *final_list; int freed = 0; - int i, j; + int i; unsigned long live = 0; mark_source_filename(ruby_sourcefile); |