so add a myusleep() wrapper to DTRT. This should fix the 100% CPU utilisation. PKGREVISION -> 1.
13 lines
323 B
Text
13 lines
323 B
Text
$NetBSD: patch-ae,v 1.1 2008/02/27 23:50:29 apb Exp $
|
|
|
|
--- src/proxy.h.orig 2006-09-21 14:32:05.000000000 +0200
|
|
+++ src/proxy.h
|
|
@@ -95,6 +95,8 @@
|
|
#endif
|
|
#define daemonize() daemon(1,1)
|
|
#define SLEEPTIME 1000
|
|
+#define usleep(usecs) myusleep(usecs)
|
|
+int myusleep(useconds_t);
|
|
#ifndef O_BINARY
|
|
#define O_BINARY 0
|
|
#endif
|