summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-03-03 17:39:28 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-03-03 17:39:28 +0000
commit96284ce43b316f552a110f86648ba271068b6864 (patch)
tree4d9ec8f87d9338a3a73d834f59df1e5bad6a0cfd /eval.c
parentbb1ac7756c6ee1791fb800be144b4a621e228587 (diff)
downloadruby-96284ce43b316f552a110f86648ba271068b6864.tar.gz
ruby-96284ce43b316f552a110f86648ba271068b6864.tar.xz
ruby-96284ce43b316f552a110f86648ba271068b6864.zip
* lib/rdoc/ri/ri_paths.rb (RI::Paths): adding paths from rubygems
directories. a patch from Eric Hodel <drbrain at segment7.net>. [ruby-core:07423] * eval.c (rb_thread_fd_writable): should not re-schedule output from KILLED thread (must be error printing). git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index fb1e4006b..9f9626651 100644
--- a/eval.c
+++ b/eval.c
@@ -10737,6 +10737,7 @@ rb_thread_fd_writable(fd)
if (rb_thread_critical) return Qtrue;
if (curr_thread == curr_thread->next) return Qtrue;
if (curr_thread->status == THREAD_TO_KILL) return Qtrue;
+ if (curr_thread->status == THREAD_KILLED) return Qtrue;
curr_thread->status = THREAD_STOPPED;
FD_ZERO(&curr_thread->readfds);