mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
90cd8b73d7
2. Port printed message to "pw userdel www" if port removed permanently. However master.passwd 1.25.2.5 has user www by default, so this is no longer correct advice. Removed pkg-deinstall to correct this. PR: 37849 and 36907 Approved by: MAINTAINER: Hye-Shik Chang <perky@fallin.lv>
18 lines
825 B
C
18 lines
825 B
C
--- srclib/apr/include/apr_atomic.h.orig Wed May 1 03:41:59 2002
|
|
+++ srclib/apr/include/apr_atomic.h Tue May 7 19:37:45 2002
|
|
@@ -175,10 +175,10 @@
|
|
#include <machine/atomic.h>
|
|
|
|
#define apr_atomic_t apr_uint32_t
|
|
-#define apr_atomic_add(mem, val) atomic_add_int(mem,val)
|
|
-#define apr_atomic_dec(mem) atomic_subtract_int(mem,1)
|
|
-#define apr_atomic_inc(mem) atomic_add_int(mem,1)
|
|
-#define apr_atomic_set(mem, val) atomic_set_int(mem, val)
|
|
+#define apr_atomic_add(mem, val) (atomic_add_int(mem,val),mem)
|
|
+#define apr_atomic_dec(mem) (atomic_subtract_int(mem,1),mem)
|
|
+#define apr_atomic_inc(mem) (atomic_add_int(mem,1),mem)
|
|
+#define apr_atomic_set(mem, val) (atomic_set_int(mem, val),mem)
|
|
#define apr_atomic_read(mem) (*mem)
|
|
|
|
#define APR_ATOMIC_NEED_CAS_DEFAULT 1
|