gregames 02/04/01 13:07:13
Modified: build apr_hints.m4
. STATUS
Log:
FreeBSD: use fcntl cross-process locks by default. Make note of problems
experienced with flock and SysV sems.
Revision Changes Path
1.38 +5 -0 apr/build/apr_hints.m4
Index: apr_hints.m4
===================================================================
RCS file: /home/cvs/apr/build/apr_hints.m4,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- apr_hints.m4 28 Mar 2002 15:10:51 -0000 1.37
+++ apr_hints.m4 1 Apr 2002 21:07:13 -0000 1.38
@@ -135,6 +135,11 @@
;;
esac
APR_SETIFNULL(enable_threads, [no])
+
+dnl XXX Fix me - Apache 1.3 used FLOCK serialization by default on FreeBSD,
+dnl but that doesn't work any more.
+
+ APR_SETIFNULL(apr_lock_method, [USE_FCNTL_SERIALIZE])
APR_ADDTO(CPPFLAGS, [-D_REENTRANT -D_THREAD_SAFE])
;;
*-next-nextstep*)
1.107 +6 -1 apr/STATUS
Index: STATUS
===================================================================
RCS file: /home/cvs/apr/STATUS,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -r1.106 -r1.107
--- STATUS 22 Mar 2002 18:08:23 -0000 1.106
+++ STATUS 1 Apr 2002 21:07:13 -0000 1.107
@@ -1,5 +1,5 @@
APACHE PORTABLE RUNTIME (APR) LIBRARY STATUS:
-*-text-*-
-Last modified at [$Date: 2002/03/22 18:08:23 $]
+Last modified at [$Date: 2002/04/01 21:07:13 $]
Release:
@@ -313,6 +313,11 @@
file. Note: Win2K fails GetFileAttributesEx in this scenario.
See OtherBill's comments in this message to [email protected]:
Message-Id: <[EMAIL PROTECTED]>
+
+ * FreeBSD: flock cross-process locks fail in apr_proc_mutex_child_init
+ with EBADF. flock was the default accept serialization method in
+ Apache 1.3. SysV sems fail with ENOSPC during apr_lock_create on
+ daedalus.
Documentation that needs writing: