aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-04 15:32:19 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-04 15:32:19 +0000
commit76d09411e9db597c537bd39124db47cde2d6f3c4 (patch)
tree08da200159c51082912ea820f937565c6076af6c /eval.c
parent5a140673903d47ca75fa612e9fc267ebc8ea380b (diff)
downloadruby-76d09411e9db597c537bd39124db47cde2d6f3c4.tar.gz
see ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 429915705c..814924b83a 100644
--- a/eval.c
+++ b/eval.c
@@ -6828,7 +6828,7 @@ rb_thread_schedule()
n = select(max+1, &readfds, &writefds, &exceptfds, delay_ptr);
if (n < 0) {
if (rb_trap_pending) rb_trap_exec();
- if (errno = EINTR) goto again;
+ if (errno == EINTR) goto again;
FOREACH_THREAD(th) {
if (th->wait_for & WAIT_SELECT) {
int v = 0;