mirror of https://gitee.com/openkylin/apr.git
use_fcntl_locking
# use flock for apr_file_lock/_unlock() # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752872 Gbp-Pq: Name use_fcntl_locking.patch
This commit is contained in:
parent
e38fe5e8a6
commit
6d00dacec9
|
@ -27,7 +27,7 @@ APR_DECLARE(apr_status_t) apr_file_lock(apr_file_t *thefile, int type)
|
||||||
{
|
{
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
#if defined(HAVE_FCNTL_H)
|
#if 0 && defined(HAVE_FCNTL_H)
|
||||||
{
|
{
|
||||||
struct flock l = { 0 };
|
struct flock l = { 0 };
|
||||||
int fc;
|
int fc;
|
||||||
|
@ -86,7 +86,7 @@ APR_DECLARE(apr_status_t) apr_file_unlock(apr_file_t *thefile)
|
||||||
{
|
{
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
#if defined(HAVE_FCNTL_H)
|
#if 0 && defined(HAVE_FCNTL_H)
|
||||||
{
|
{
|
||||||
struct flock l = { 0 };
|
struct flock l = { 0 };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue