Subject: CVS commit: pkgsrc/chat/i2cbd
To: None <pkgsrc-changes@NetBSD.org>
From: Jim Wise <jwise@netbsd.org>
List: pkgsrc-changes
Date: 05/11/2006 03:55:05
Module Name:	pkgsrc
Committed By:	jwise
Date:		Thu May 11 03:55:05 UTC 2006

Modified Files:
	pkgsrc/chat/i2cbd: Makefile distinfo
Removed Files:
	pkgsrc/chat/i2cbd/patches: patch-aj

Log Message:
Update to i2cbd-2.0_BETA5: fold in patch-aj, from Thor Lancelot Simon:

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.


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 pkgsrc/chat/i2cbd/Makefile
cvs rdiff -r1.13 -r1.14 pkgsrc/chat/i2cbd/distinfo
cvs rdiff -r1.3 -r0 pkgsrc/chat/i2cbd/patches/patch-aj

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.