1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

merges r20615 from trunk into ruby_1_9_1.

* thread.c (rb_mutex_unlock): shut up warning.  a patch from
  Kazuhiro NISHIYAMA in [ruby-dev:37345]. fix #846

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2008-12-13 01:02:04 +00:00
parent e886f46b77
commit f96cd536ee
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Thu Dec 11 01:21:58 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* thread.c (rb_mutex_unlock): shut up warning. a patch from
Kazuhiro NISHIYAMA in [ruby-dev:37345]. fix #846
Wed Dec 10 23:58:56 2008 Tadayoshi Funaba <tadf@dotrb.org>
* complex.c: avoided warnings on cpp. [ruby-dev:37344]

View file

@ -2978,7 +2978,7 @@ rb_mutex_unlock(VALUE self)
GetMutexPtr(self, mutex);
err = mutex_unlock(mutex);
if (err) rb_raise(rb_eThreadError, err);
if (err) rb_raise(rb_eThreadError, "%s", err);
return self;
}