diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | eval.c | 4 | ||||
-rw-r--r-- | io.c | 1 |
3 files changed, 9 insertions, 1 deletions
@@ -18,6 +18,10 @@ Thu Feb 20 23:11:42 2003 Akinori MUSHA <[email protected]> * instruby.rb: Convert mdoc manpages to man for systems which nroff(1) does not grok mdoc. [merged from 1.8] +Tue Feb 18 21:39:27 2003 Yukihiro Matsumoto <[email protected]> + + * io.c (argf_to_io): should prefetch argv. + Fri Feb 14 14:25:24 2003 akira yamada <[email protected]> * lib/uri/generic.rb, lib/uri/ldap.rb, lib/uri/mailto.ldap: all foo=() @@ -47,6 +51,7 @@ Sat Feb 8 04:04:13 2003 Akinori MUSHA <[email protected]> lib/shell/error.rb, lib/shell/filter.rb: Fix typos and grammos. [approved by: keiju] +>>>>>>> 1.285.2.583 Mon Feb 3 23:46:48 2003 Yukihiro Matsumoto <[email protected]> * io.c (argf_getline): should not increment lineno at EOF. @@ -7891,7 +7891,9 @@ rb_thread_schedule() next->gid = 0; rb_thread_ready(next); next->status = THREAD_TO_KILL; - rb_thread_save_context(curr_thread); + if (!rb_thread_dead(curr_thread)) { + rb_thread_save_context(curr_thread); + } rb_thread_deadlock(); } next->wait_for = 0; @@ -3222,6 +3222,7 @@ argf_fileno() static VALUE argf_to_io() { + next_argv(); return current_file; } |