summaryrefslogtreecommitdiff
path: root/devel/pwlib/patches/patch-al
blob: 50b90a892ffb1bbb5b6cf6495ec8845a1ab68d81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-al,v 1.3 2004/11/30 16:44:47 adam Exp $

--- src/ptlib/unix/tlibthrd.cxx.orig	2004-09-02 07:55:44.000000000 +0000
+++ src/ptlib/unix/tlibthrd.cxx
@@ -1088,7 +1088,9 @@ void PThread::Sleep(const PTimeInterval 
     if (select(0, NULL, NULL, NULL, tval) < 0 && errno != EINTR)
       break;
 
+#ifndef P_NETBSD
     pthread_testcancel();
+#endif
 
     lastTime = PTime();
   }