* thread_pthread.c (native_cond_initialize): fix typo in r36022.

this cause a failure on FreeBSD 8.2 amd64.
  http://fbsd.rubyci.org/~chkbuild/ruby-trunk/log/20120610T130201Z.diff.html.gz

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2012-06-10 21:19:07 +00:00
parent cf8c5c1405
commit 67b8c950bf
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Mon Jun 11 06:17:06 2012 NARUSE, Yui <naruse@ruby-lang.org>
* thread_pthread.c (native_cond_initialize): fix typo in r36022.
this cause a failure on FreeBSD 8.2 amd64.
http://fbsd.rubyci.org/~chkbuild/ruby-trunk/log/20120610T130201Z.diff.html.gz
Mon Jun 11 05:21:57 2012 Koichi Sasada <ko1@atdot.net>
* .gdbinit (SDR): add SDR function. It's only for VM debugging.

View File

@ -248,7 +248,7 @@ native_cond_initialize(rb_thread_cond_t *cond, int flags)
{
#ifdef HAVE_PTHREAD_COND_INIT
int r;
# ifdef HAVE_PTHREAD_COND_ATTR_INIT
# ifdef HAVE_PTHREAD_CONDATTR_INIT
pthread_condattr_t attr;
pthread_condattr_init(&attr);