diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-10 21:19:07 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-10 21:19:07 +0000 |
commit | 67b8c950bfebee48b1883321a404e760cd9b9044 (patch) | |
tree | 074ce2279b2b0d471406fc453b1379b2e5d5c2f4 | |
parent | cf8c5c14051dbb2b255bf7c0adde7d9e283b222f (diff) | |
download | ruby-67b8c950bfebee48b1883321a404e760cd9b9044.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | thread_pthread.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -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. diff --git a/thread_pthread.c b/thread_pthread.c index f434d16922..332e97be21 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -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); |