Skip to content

Instantly share code, notes, and snippets.

@hnw
Created November 15, 2011 05:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hnw/1366275 to your computer and use it in GitHub Desktop.
Save hnw/1366275 to your computer and use it in GitHub Desktop.
*** APC-3.1.9/apc_lock.h.orig 2011-11-15 14:45:27.000000000 +0900
--- APC-3.1.9/apc_lock.h 2011-11-15 14:45:34.000000000 +0900
***************
*** 154,160 ****
# 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)
#endif
#endif
--- 154,160 ----
# 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)
#endif
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment