summaryrefslogtreecommitdiff
path: root/package/krb5/patches/patch-src_include_k5-thread_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/krb5/patches/patch-src_include_k5-thread_h')
-rw-r--r--package/krb5/patches/patch-src_include_k5-thread_h19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/krb5/patches/patch-src_include_k5-thread_h b/package/krb5/patches/patch-src_include_k5-thread_h
new file mode 100644
index 000000000..71eb656f9
--- /dev/null
+++ b/package/krb5/patches/patch-src_include_k5-thread_h
@@ -0,0 +1,19 @@
+--- krb5-1.12.1.orig/src/include/k5-thread.h 2014-01-16 01:44:15.000000000 +0100
++++ krb5-1.12.1/src/include/k5-thread.h 2014-06-05 20:59:34.000000000 +0200
+@@ -380,14 +380,12 @@ static inline int k5_mutex_finish_init(k
+
+ static inline void k5_mutex_lock(k5_mutex_t *m)
+ {
+- int r = k5_os_mutex_lock(m);
+- assert(r == 0);
++ k5_os_mutex_lock(m);
+ }
+
+ static inline void k5_mutex_unlock(k5_mutex_t *m)
+ {
+- int r = k5_os_mutex_unlock(m);
+- assert(r == 0);
++ k5_os_mutex_unlock(m);
+ }
+
+ #define k5_mutex_assert_locked(M) ((void)(M))