зеркало из https://github.com/github/ruby.git
* thread.c (rb_thread_s_debug_set): set level, not only boolean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
c922e50804
Коммит
a289f7a4b1
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
Thu Sep 17 13:50:50 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* thread.c (rb_thread_s_debug_set): set level, not only boolean.
|
||||
|
||||
Thu Sep 17 13:12:37 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/rdoc/parser/ruby.rb (RDoc::Parser::Ruby): parse also rdoc
|
||||
files.
|
||||
|
||||
* doc/re.rdoc: renamed from re.rb.
|
||||
|
||||
Thu Sep 17 09:37:28 2009 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* doc/re.rb: New document for Ruby's fork of Oniguruma.
|
||||
|
|
2
thread.c
2
thread.c
|
@ -152,7 +152,7 @@ rb_thread_s_debug(void)
|
|||
static VALUE
|
||||
rb_thread_s_debug_set(VALUE self, VALUE val)
|
||||
{
|
||||
rb_thread_debug_enabled = RTEST(val);
|
||||
rb_thread_debug_enabled = RTEST(val) ? NUM2INT(val) : 0;
|
||||
return val;
|
||||
}
|
||||
# else
|
||||
|
|
Загрузка…
Ссылка в новой задаче