b70e225996
tested by dhill, thanks ok dhill sthen
18 lines
567 B
Plaintext
18 lines
567 B
Plaintext
$OpenBSD: patch-apc_lock_h,v 1.1 2012/05/01 02:25:21 william Exp $
|
|
|
|
typo: fix fcntl lock error
|
|
(upstream commit r311339)
|
|
|
|
|
|
--- apc_lock.h.orig Fri Mar 16 15:53:25 2012
|
|
+++ apc_lock.h Fri Mar 16 15:54:57 2012
|
|
@@ -154,7 +154,7 @@
|
|
# define apc_lck_nb_lock(a) apc_fcntl_nonblocking_lock(a TSRMLS_CC)
|
|
# define apc_lck_rdlock(a) apc_fcntl_rdlock(a TSRMLS_CC)
|
|
# define apc_lck_unlock(a) apc_fcntl_unlock(a TSRMLS_CC)
|
|
-# define apc_lck_rdunlock(a) apc_fcntl_unlock(&a TSRMLS_CC)
|
|
+# define apc_lck_rdunlock(a) apc_fcntl_unlock(a TSRMLS_CC)
|
|
#endif
|
|
|
|
#endif
|