Below is the list of changes that have just been commited into a local
3.23. repository of Sinisa. When Sinisa does a push, they will be
propogaged to the main repository and within 24 hours after the push into
the public repository. For information on how to access
the public repository see
http://www.mysql.com/doc/I/n/Installing_source_tree.html
ChangeSet@stripped, 2002-04-16 21:19:00+03:00, Sinisa@stripped
Small fix for HP-UX 10.20 with DCE threads
Also --with-libwrap is tested on Linux just fine.
configure.in
1.173 02/04/16 21:18:15 Sinisa@stripped +1 -0
Small fix for HP-UX 10.20 with DCE threads
include/my_pthread.h
1.41 02/04/16 21:18:15 Sinisa@stripped +1 -1
Small fix for HP-UX 10.20 with DCE threads
mysys/my_pthread.c
1.14 02/04/16 21:18:15 Sinisa@stripped +2 -2
Small fix for HP-UX 10.20 with DCE threads
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: Sinisa
# Host: sinisa.nasamreza.org
# Root: /mnt/mail/work/mysql
--- 1.172/configure.in Tue Apr 2 17:42:01 2002
+++ 1.173/configure.in Tue Apr 16 21:18:15 2002
@@ -853,6 +853,7 @@
echo "Using --with-named-thread=-lpthread"
with_named_thread="-lcma"
fi
+ AC_DEFINE(HAVE_BROKEN_PTHREAD_COND_TIMEDWAIT)
;;
*hpux11.*)
echo "Enabling pread/pwrite workaround for hpux 11"
--- 1.40/include/my_pthread.h Tue Apr 16 16:29:03 2002
+++ 1.41/include/my_pthread.h Tue Apr 16 21:18:15 2002
@@ -349,7 +349,7 @@
#undef HAVE_GETHOSTBYADDR_R /* No definition */
#endif
-#if defined(HAVE_DEC_THREADS)
+#if defined(HAVE_BROKEN_PTHREAD_COND_TIMEDWAIT)
extern int my_pthread_cond_timedwait(pthread_cond_t *cond,
pthread_mutex_t *mutex,
struct timespec *abstime);
--- 1.13/mysys/my_pthread.c Tue Apr 16 16:29:03 2002
+++ 1.14/mysys/my_pthread.c Tue Apr 16 21:18:15 2002
@@ -412,7 +412,7 @@
/* Change functions on HP to work according to POSIX */
-#ifdef HAVE_DEC_THREADS
+#ifdef HAVE_BROKEN_PTHREAD_COND_TIMEDWAIT
#undef pthread_cond_timedwait
int my_pthread_cond_timedwait(pthread_cond_t *cond,
@@ -422,7 +422,7 @@
int error=pthread_cond_timedwait(cond,mutex,abstime);
return error == EAGAIN ? ETIMEDOUT : error;
}
-#endif /* HAVE_DEC_THREADS */
+#endif /* HAVE_BROKEN_PTHREAD_COND_TIMEDWAIT */
/*
Emulate SOLARIS style calls, not because it's better, but just to make the
| Thread |
|---|
| • bk commit into 3.23 tree | Sinisa | 16 Apr |