diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-03-14 04:45:46 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-03-14 04:45:46 +0000 |
commit | 72267e8dbfd193c5494037e4974fa45c70002be6 (patch) | |
tree | c9f2a35cc509166a9527651168084fbddc474ca3 /lib/thread.rb | |
parent | 2ed799f834d30e7f89fb92dd4d109ac00d46e7b3 (diff) |
* eval.c (rb_yield_0): 0 (= Qfalse) is a valid value, so that
default self should be checked by klass == 0.
* bignum.c (rb_cstr2inum): should disallow '++1', '+-1', etc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/thread.rb')
-rw-r--r-- | lib/thread.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread.rb b/lib/thread.rb index d4b6ad6ec1..559cd95a8a 100644 --- a/lib/thread.rb +++ b/lib/thread.rb @@ -185,7 +185,7 @@ class Queue end end def shift(non_block=false) - pop(non_block=false) + pop(non_block) end alias deq shift |