diff options
author | tls <tls@pkgsrc.org> | 2006-05-11 01:54:33 +0000 |
---|---|---|
committer | tls <tls@pkgsrc.org> | 2006-05-11 01:54:33 +0000 |
commit | 4a380ba70b3ab018873927a376064ac33d633eb7 (patch) | |
tree | 4390330ba32dff332357fff08588609d82603a0d /chat/i2cbd/Makefile | |
parent | ebb350bbb2711206e63583e5c346ce8e0dcd3742 (diff) | |
download | pkgsrc-4a380ba70b3ab018873927a376064ac33d633eb7.tar.gz |
Don't set O_NDELAY (and leave it set!) on all sockets, all the time. This
was making select always return immediately and was causing the daemon to
spin on CPU.
Instead, set O_NONBLOCK (= O_NDELAY) on sockets only when reading/writing
them, and clear it afterwards, so select is always safe.
Diffstat (limited to 'chat/i2cbd/Makefile')
-rw-r--r-- | chat/i2cbd/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chat/i2cbd/Makefile b/chat/i2cbd/Makefile index f89e656fbc3..04a19c53d21 100644 --- a/chat/i2cbd/Makefile +++ b/chat/i2cbd/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.19 2006/05/10 20:16:40 christos Exp $ +# $NetBSD: Makefile,v 1.20 2006/05/11 01:54:33 tls Exp $ # DISTNAME= i2cbd-2.0_BETA3 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= chat MASTER_SITES= ${MASTER_SITE_LOCAL} \ http://www.draga.com/~jwise/i2cb/ |