gregames 02/04/01 13:50:45 Modified: . STATUS build apr_hints.m4 Log: FreeBSD: switch to FLOCK serialization by default (thanks, Jeff!) and clean up the STATUS file. Revision Changes Path 1.108 +1 -6 apr/STATUS Index: STATUS =================================================================== RCS file: /home/cvs/apr/STATUS,v retrieving revision 1.107 retrieving revision 1.108 diff -u -r1.107 -r1.108 --- STATUS 1 Apr 2002 21:07:13 -0000 1.107 +++ STATUS 1 Apr 2002 21:50:45 -0000 1.108 @@ -1,5 +1,5 @@ APACHE PORTABLE RUNTIME (APR) LIBRARY STATUS: -*-text-*- -Last modified at [$Date: 2002/04/01 21:07:13 $] +Last modified at [$Date: 2002/04/01 21:50:45 $] Release: @@ -313,11 +313,6 @@ file. Note: Win2K fails GetFileAttributesEx in this scenario. See OtherBill's comments in this message to dev@httpd.apache.org: Message-Id: <5.1.0.14.2.20020315080852.00bce168@localhost> - - * 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: 1.39 +1 -5 apr/build/apr_hints.m4 Index: apr_hints.m4 =================================================================== RCS file: /home/cvs/apr/build/apr_hints.m4,v retrieving revision 1.38 retrieving revision 1.39 diff -u -r1.38 -r1.39 --- apr_hints.m4 1 Apr 2002 21:07:13 -0000 1.38 +++ apr_hints.m4 1 Apr 2002 21:50:45 -0000 1.39 @@ -135,11 +135,7 @@ ;; 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_SETIFNULL(apr_lock_method, [USE_FLOCK_SERIALIZE]) APR_ADDTO(CPPFLAGS, [-D_REENTRANT -D_THREAD_SAFE]) ;; *-next-nextstep*)