diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-03 12:21:11 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-03 12:21:11 +0000 |
commit | 16519f1ff9bfd74474f5c4177795feaba7765d0c (patch) | |
tree | be5059554018eb45d5b07bc4bb136f0a5af70149 | |
parent | 55b95b0169fee1cf10f8c67ead1c93e16a686194 (diff) | |
download | ruby-16519f1ff9bfd74474f5c4177795feaba7765d0c.tar.gz |
* thread.c (thread_initialize): NUM2INT returns long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | thread.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Thu Jul 3 21:20:45 2008 Yusuke Endoh <mame@tsg.ne.jp> + + * thread.c (thread_initialize): NUM2INT returns long. + Thu Jul 3 21:06:16 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * eval.c (Init_eval): typo fixed in r17833. @@ -490,7 +490,7 @@ thread_initialize(VALUE thread, VALUE args) rb_raise(rb_eThreadError, "already initialized thread - %s", file); } - rb_raise(rb_eThreadError, "already initialized thread - %s:%d", + rb_raise(rb_eThreadError, "already initialized thread - %s:%ld", file, NUM2INT(line)); } return thread_create_core(thread, args, 0); |