From b5b6edce301fdc5539b9a98e095d19088d8b18d1 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 7 Sep 2000 23:58:43 +0300 Subject: Small portability fixes Docs/manual.texi: Portability updates, user addition and changelog for 3.23.24 mysys/thr_rwlock.c: Portability fix scripts/make_binary_distribution.sh: Added use of sbindir scripts/mysql_install_db.sh: Fixed usage of defaults files sql/ha_myisam.cc: Cleanup sql/sql_base.cc: Cleanup --- mysys/thr_rwlock.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'mysys/thr_rwlock.c') diff --git a/mysys/thr_rwlock.c b/mysys/thr_rwlock.c index dfa9065ff3a..37630956e7f 100644 --- a/mysys/thr_rwlock.c +++ b/mysys/thr_rwlock.c @@ -65,13 +65,8 @@ int my_rwlock_init( rw_lock_t *rwp, void *arg __attribute__((unused))) pthread_mutex_init( &rwp->lock, NULL ); pthread_condattr_init( &cond_attr ); -#ifdef HAVE_PTHREAD_CONDATTR_CREATE /* HPUX 11.0 */ - pthread_cond_init( &rwp->readers, cond_attr ); - pthread_cond_init( &rwp->writers, cond_attr ); -#else pthread_cond_init( &rwp->readers, &cond_attr ); pthread_cond_init( &rwp->writers, &cond_attr ); -#endif pthread_condattr_destroy(&cond_attr); rwp->state = 0; -- cgit v1.2.1