openbsd-ports/www/pecl-APC/patches/patch-apc_lock_h
william b70e225996 update to 3.1.9
tested by dhill, thanks
ok dhill sthen
2012-05-01 02:25:21 +00:00

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