Subject: CVS commit: pkgsrc/chat/i2cbd
From: Thor Lancelot Simon
Date: 2006-05-11 03:54:33
Message id: 20060511015433.257502DA27@cvs.netbsd.org

Log Message:
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.

Files:
RevisionActionfile
1.20modifypkgsrc/chat/i2cbd/Makefile
1.1addpkgsrc/chat/i2cbd/patches/patch-aj