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 | 98dead34defdeaf0f401becfeb038a4e372a79f0 (patch) | |
| tree | c863bbdf5807cf170ca21f3df33c9cbc847d403f /hash.c | |
| parent | 71aefcdabe5758e4e3123d91b7b975da5eb6c891 (diff) | |
| download | ruby-98dead34defdeaf0f401becfeb038a4e372a79f0.tar.gz ruby-98dead34defdeaf0f401becfeb038a4e372a79f0.tar.xz ruby-98dead34defdeaf0f401becfeb038a4e372a79f0.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@6999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
| -rw-r--r-- | hash.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -862,8 +862,6 @@ static VALUE rb_hash_clear(hash) VALUE hash; { - void *tmp; - rb_hash_modify(hash); if (RHASH(hash)->tbl->num_entries > 0) { rb_hash_foreach(hash, clear_i, 0); |
