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 /eval.c | |
parent | 3d17082a50358d83da7f65e923b5559dd8b20ca5 (diff) |
* 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 'eval.c')
-rw-r--r-- | eval.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -2187,7 +2187,6 @@ is_defined(self, node, buf, noeval) int state; static const char *ex = "expression"; - again: if (!node) return ex; switch (nd_type(node)) { case NODE_SUPER: @@ -7745,7 +7744,6 @@ static void frame_dup(frame) struct FRAME *frame; { - VALUE *argv; struct FRAME *tmp; for (;;) { @@ -7873,7 +7871,6 @@ bind_eval(argc, argv, bind) { struct BLOCK *data; VALUE args[4]; - VALUE dummy; rb_scan_args(argc, argv, "12", &args[0], &args[2], &args[3]); args[1] = bind; @@ -11343,7 +11340,7 @@ rb_thread_start_0(fn, arg, th) { volatile rb_thread_t th_save = th; volatile VALUE thread = th->thread; - struct BLOCK *volatile saved_block = 0, *block; + struct BLOCK *volatile saved_block = 0; enum thread_status status; int state; @@ -12146,7 +12143,6 @@ rb_callcc(self) volatile rb_thread_t th_save; struct tag *tag; struct RVarmap *vars; - struct BLOCK *blk; THREAD_ALLOC(th); cont = Data_Wrap_Struct(rb_cCont, thread_mark, thread_free, th); |