summaryrefslogtreecommitdiff
path: root/textproc/htdig/files/patch-db_mut__pthread.c
blob: 1deafc8940babe2edf5d835adcf5987409662a92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- db/mut_pthread.c.orig	2002-02-02 18:18:05 UTC
+++ db/mut_pthread.c
@@ -201,7 +201,11 @@ CDB___db_pthread_mutex_lock(mutexp)
 			 * call, and Solaris delivers the signal to the wrong
 			 * LWP.
 			 */
-			if (ret != 0 && ret != ETIME && ret != ETIMEDOUT)
+			if (ret != 0 &&
+#ifndef __FreeBSD__
+			    ret != ETIME &&
+#endif
+			    ret != ETIMEDOUT)
 				return (ret);
 		}